c_leong@vaxa.uwa.oz (05/31/90)
To all you window gurus, A recent program I have written uses an edit child windows as a cursor which accepts input from the user whenever a alphanum key is pressed. And the child window then returns focus to the main program once the return key is pressed (via subclassing). The problem is that I have been trying to retrieve the input string from the child window with :- SendMessage(hWndCursor,EM_GETLINE,0,stringbuffer); where 'hWndCursor' is the childwindow where the hiword to 'stringbuffer' is a pointer to -> char string[80]; and the loword of 'stringbuffer' is the lenght of string to be retrieved. The problem is that I've been getting garbage when trying to retrieve stuff from string[80]?? Has anybody got any suggestions. Clement Leong