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.
GetWindowPlacement
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  Windows 3.1 only
 
  BOOL GetWindowPlacement( WINDOWPLACEMENT FAR* lpwndpl ) const;
 
  Parameter   Description
 
  <lpwndpl>   Points to the WINDOWPLACEMENT structure that receives the
              show state and position information.
 
  Remarks
 
  Retrieves the show state and the normal (restored), minimized, and
  maximized positions of a window.
 
  The flags member of the WINDOWPLACEMENT structure retrieved by this
  function is always 0. If CWnd is maximized, the showCmd member of
  WINDOWPLACEMENT is SW_SHOWMAXIMIZED if the window is minimized, it is
  SW_SHOWMINIMIZED it is SW_SHOWNORMAL otherwise.
 
  Return Value
 
  Nonzero if the function is successful. Otherwise, 0.
 
  See Also
 
  CWnd::SetWindowPlacement, GetWindowPlacement
 
 
                                     -♦-