windows_programming_notes.nbk: Home | Index | Next Page: MoveToEx | Previous Page: MessageBoxIndirect
The MINMAXINFO structure contains information about a window's maximized size and position and its minimum and maximum tracking size.
    typedef struct {
        POINT ptReserved;
        POINT ptMaxSize;
        POINT ptMaxPosition;
        POINT ptMinTrackSize;
        POINT ptMaxTrackSize;
    } MINMAXINFO;
For systems with multiple monitors, the ptMaxSize and ptMaxPosition members describe the maximized size and position of the window on the primary monitor, even if the window ultimately maximizes onto a secondary monitor. In that case, the window manager adjusts these values to compensate for differences between the primary monitor and the monitor that displays the window. Thus, if the user leaves ptMaxSize untouched, a window on a monitor larger than the primary monitor maximizes to the size of the larger monitor.
windows_programming_notes.nbk: Home | Index | Next Page: MoveToEx | Previous Page: MessageBoxIndirect
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time