Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::GetLastActivePopup
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CWnd* GetLastActivePopup() const;
 
  Remarks
 
  Determines which pop-up window owned by CWnd was most recently active.
 
  Return Value
 
  Identifies the most recently active pop-up window. The return value will
  be the CWnd itself if any of the following conditions are met:
 
  ■   CWnd itself was most recently active.
 
  ■   CWnd does not own any pop-up windows.
 
  ■   CWnd 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 Also
 
  ::GetLastActivePopup
 
 
                                     -♦-