Finding the current active button...
-
Hi All Could someone kindly let me know how to identify the currently highlighted (tabbed) button on a modeless dialog before it is pressed? I've looked at GetFocus but that seems to only apply to window focus. (Using MFC) Thanks :) u6ik
A button is also a window (in fact, every control derives from CWnd so every control is also a window). So GetFocus will work ;)
-
Hi All Could someone kindly let me know how to identify the currently highlighted (tabbed) button on a modeless dialog before it is pressed? I've looked at GetFocus but that seems to only apply to window focus. (Using MFC) Thanks :) u6ik
-
Hi All Could someone kindly let me know how to identify the currently highlighted (tabbed) button on a modeless dialog before it is pressed? I've looked at GetFocus but that seems to only apply to window focus. (Using MFC) Thanks :) u6ik