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

CWnd::GetForegroundWindow 

Returns a pointer to the foreground window (the window with which the user is currently working).


static CWnd* PASCAL GetForegroundWindow( );

A pointer to the foreground window. This may be a temporary CWnd object.

The foreground window applies only to top-level windows (frame windows or dialog boxes).

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.