Posted by Joe Forani on November 01, 2005 at 12:19:47:
I am trying my first 'windows' program using the 'direct' method. Everything worked great - pretty simple program, just two edit controls and an Ok button. I have the focus set on the first edit control using :
cosCtlId = ID.EDIT1
gosub COS.SetDlgItemFocus
Now I want to put this program in a window using :
Print (CreateWindowEx=Col,Row,Width,Height,Style,Flags,Caption$)
Now the program doesn't work! The cursor is blinking in the top left corner of the window and I have to click on the first edit control to enter the data - no focus. But even clicking on the edit box and entering the data doesn't work, because no data is returned from the edit control using 'gosub GetData' like it does in my original program.
Does the windows programing not work using CreateWindowEx?
Joe