Hi, thanks for the replies, i'm using this code to create the edit box:
i don't think thats a dialog box, is it? If it is, how do i get an "identifier of control"?
CreateWindowEx(WS_EX_CLIENTEDGE, //more or 'extended' styles
TEXT("EDIT"), //'class' of control to create
TEXT("EDIT CONTROL"), //the control caption
WS_CHILD|WS_VISIBLE|WS_BORDER, //control style: how it looks
210, //control position: left
10, //control position: top
200, //control width
30, //control height
hwnd, //parent window handle
NULL, //control's ID
hInst, //application instance
When i use the other function "GetWindowText(), it retrieves the text from menu bar at the top, not what is typed into the box.
Thanks for your help, this stuff is confusing! So many many many different commands.