CWnd::GetLastActivePopup 

CWnd* GetLastActivePopup( ) const;

Return Value

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 pointer may be temporary and should not be stored for later use.

Remarks

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

CWnd OverviewClass MembersHierarchy Chart

See Also   ::GetLastActivePopup