Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CWnd::OnGetMinMaxInfo
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnGetMinMaxInfo( LPPOINT  lpPoints  );
 
  Parameter   Description
 
  <lpPoints>  Points to an array of five POINT structures that contain
              the following information:
 
              Value      Meaning
 
              <apt[0]>   This value is reserved for internal use.
 
              <apt[1]>   Specifies the maximized width (<point>.x) and the
                         maximized height (<point>.y) of the CWnd.
 
              <apt[2]>   Specifies the position of the left side of the
                         maximized window (<point>.x) and the position of
                         the top of the maximized window (<point>.y).
 
              <apt[3]>   Specifies the minimum tracking width (<point>.x)
                         and the minimum tracking height (<point>.y) of
                         the CWnd.
 
              <apt[4]>   Specifies the maximum tracking width (<point>.x)
                         and the maximum tracking height (<point>.y) of
                         the CWnd.
 
  Remarks
 
  Called whenever Windows needs to know the maximized position or
  dimensions, or the minimum or maximum tracking size. The maximized size
  is the size of the window when its borders are fully extended. The
  maximum tracking size of the window is the largest window size that can
  be achieved by using the borders to size the window. The minimum
  tracking size of the window is the smallest window size that can be
  achieved by using the borders to size the window.
 
  Windows fills in an array of points specifying default values for the
  various positions and dimensions. The application may change these
  values in OnGetMinMaxInfo.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_GETMINMAXINFO message.
 
  See Also
 
  CWnd::Default, WM_GETMINMAXINFO
 
 
                                     -♦-