Remove all "SetFocus" from the source and insert in callback WndProc just 2 lines: .ELSEIF uMsg==WM_ACTIVATE invoke SetFocus,hwndEdit Method preposed in Tut#12 doesn't work: the Edit window will be "unfocused" after switching between other windows and in some other cases.
Posted on 2001-01-15 02:49:00 by The Svin