How do I get text from an edit box?

This is a discussion on How do I get text from an edit box? within the Windows Programming forums, part of the Platform Specific Boards category; I have been tinkering with a program lately and have created somewhat of a form by looping through a CreateWindowEx() ...

How do I get text from an edit box?

I have been tinkering with a program lately and have created somewhat of a form by looping through a CreateWindowEx() function. It is composed of Edit Boxes(ES_LEFT) and Push Buttons(BS_PUSHBUTTON). My Question is, how do I retreive text that is entered in the Edit Boxes?

If you need my code I can post it tomorrow, as it is currently on my workstation at work.