Keeping focus on an edit control ...
I have a window (not a dialog) that contains 3 edit controls, during the WM_CREATE I call a SetFocus on the first edit of the group.
The problem is, everytime I minimize the main window, or it get's hidden behind another window, the focus disappears from the edit control.
I've tried just about everything I can think of in the window proc to try and combat this and have finally given up trying to solve it on my own and have come here seeking help.
It's just a simple application, no MFC or classes.