Here's my problem:
I have in my one and only window procedure, a case handler for VK_RETURN.
When you press enter, it pops up a message box.
When you press enter after clicking in an edit box, no message box.
If you then minimize, then maximize the window, pressing enter pops up the message box!
So. Somehow, after you change the focus to an edit control, the VK_RETURN message is either:
- not being generated.(not likely)
- not being sent down the switch statement (likely, I suppose)
But where is it being sent? There is only one window procedure!!!
Shouldn't all messages be reaching this procedure?!
I just don't get it.
Please help me!!!