I have a control that contains another control inside. The inner control sometimes snatches focus from other controls and I need to place a watch on this and change focus back. I'm subclassing the out control (can't subclass the inner one), and I'm listening for the WM_SETFOCUS
message, but this only occurs when I click one of the controls. When the focus is snatched by the inner control itself, I'm getting nothing.
What am I doing wrong?