Bill Medland billmedland@mercuryspeed.com writes:
Also see the SetFocus documentation that says it sends WM_SETFOCUS.
So maybe they mean that it sends a WM_SETFOCUS unless its an edit control in which case it sends EN_SETFOCUS.
No, it sends a WM_SETFOCUS to the edit control, which in turns sends an EN_SETFOCUS to its parent. Why doesn't this do the right thing for you?