Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CWnd::GetLastActivePopup
Collapse the table of content
Expand the table of content

CWnd::GetLastActivePopup

Determines which pop-up window owned by CWnd was most recently active.

CWnd* GetLastActivePopup( ) const;

Identifies the most recently active pop-up window. The return value will be the window itself if any of the following conditions are met:

  • The window itself was most recently active.

  • The window does not own any pop-up windows.

  • The window is not a top-level window or is owned by another window.

The pointer may be temporary and should not be stored for later use.

See the example for CWnd::FindWindow.

Header: afxwin.h

Community Additions

ADD
Show:
© 2015 Microsoft