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.
OnWindowPosChanged
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  Windows 3.1 only
 
  afx_msg void OnWindowPosChanged( WINDOWPOS FAR* lpwndpos );
 
  Parameter   Description
 
  <lpwndpos>  Points to a WINDOWPOS data structure that contains
              information about the window's new size and position.
 
  Remarks
 
  Called when the size, position, or z-order has changed as a result of a
  call to SetWindowPos or another window-management function.
 
  This function calls CWnd::Default, which sends the WM_SIZE and
  WM_MOVE messages to the window. These messages are not sent if an
  application handles the OnWindowPosChanged call without calling
  CWnd::Default. It is more efficient to perform any move or size change
  processing during the call to OnWindowPosChanged without calling
  CWnd::Default.
 
  See Also
 
  WM_WINDOWPOSCHANGED, CWnd::Default
 
 
                                     -♦-