My appliction (written in C) has a bunch of text buttons above a
text entry area. I want the focus to remain with the text area.
If a user presses a text button, the generated WM_COMMAND in the
parent window returns the focus back to the text area.
However, if the user presses on a text button, slides the mouse
off the button and then releases the mouse button, the button gets
focus but doesn't send any message to the parent window and the
text button retains the focus, causing the users typing to be ignored
until they accidentally hit space...
Merely returning the focus to the text area whenever it loses it stops
the tex buttons from ever firing!
Does anyone have any solution to preventing a regular button from