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.