Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CWnd::OnNcCalcSize
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnNcCalcSize( LPRECT  lpRect );
 
  Parameter   Description
 
  <lpRect>    Points to a RECT data structure that contains the screen
              coordinates of the CWnd rectangle (including client area,
              borders, caption, scroll bars, and so on).
 
  Remarks
 
  Called when the size of the client area needs to be calculated.
 
  The Default member function calculates the size of the client area based
  on the window characteristics (presence of scroll bars, menu, and so
  on), and places the result in <lpRect>.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_NCCALCSIZE message.
 
  See Also
 
  CWnd::Default, WM_NCCALCSIZE
 
 
                                     -♦-