Robert! Thank you for your explanation.
I don't :-) I think you are missing some of the subtleties of windows GUI programming.
I have to admit...
That depends what you mean by 'does not work'.
I agree, it does work.
If you add a menu to the window, I think it becomes a bit more obvious (code below). Watch the focus move the the menu bar when you press and release the F10 key.
I've seen it.
If you are referring to the Alt+_F4 problem in your previous mail, then I think it is a Win98 problem.
Thank you for all. Waldemar