Export (0) Print
Expand All
Expand Minimize
1 out of 5 rated this helpful - Rate this topic


Retrieves a pointer to the active window.

static CWnd* PASCAL GetActiveWindow( );

The active window or NULL if no window was active at the time of the call. The pointer may be temporary and should not be stored for later use.

The active window is either the window that has the current input focus or the window explicitly made active by the SetActiveWindow member function.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.