共用方式為


MINMAXINFO Structure

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.

Requirements

Header: winuser.h

See Also

Reference

CWnd::OnGetMinMaxInfo

Other Resources

Structures, Styles, Callbacks, and Message Maps