MINMAXINFO Structure

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

The MINMAXINFO structure contains information about a window's maximized size and position and its minimum and maximum tracking size.

typedef struct tagMINMAXINFO {  
    POINT ptReserved;  
    POINT ptMaxSize;  
    POINT ptMaxPosition;  
    POINT ptMinTrackSize;  
    POINT ptMaxTrackSize;  
} MINMAXINFO;  

Parameters

ptReserved
Reserved for internal use.

ptMaxSize
Specifies the maximized width (point.x) and the maximized height (point.y) of the window.

ptMaxPosition
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).

ptMinTrackSize
Specifies the minimum tracking width (point.x) and the minimum tracking height (point.y) of the window.

ptMaxTrackSize
Specifies the maximum tracking width (point.x) and the maximum tracking height (point.y) of the window.

Header: winuser.h

Structures, Styles, Callbacks, and Message Maps
CWnd::OnGetMinMaxInfo

Show: