NCCALCSIZE_PARAMS
The NCCALCSIZE_PARAMS structure contains information that an application can use while processing the WM_NCCALCSIZE message to calculate the size, position, and valid contents of the client area of a window.
typedef struct _NCCALCSIZE_PARAMS { // nccp
RECT rgrc[3];
PWINDOWPOS lppos;
} NCCALCSIZE_PARAMS;
Members
-
rgrc
-
Specifies an array of rectangles. The first contains the new coordinates of a window that has been moved or resized. The second contains the coordinates of the window before it was moved or resized. The third contains the coordinates of the window's client area before the window was moved or resized. If the window is a child window, the coordinates are relative to the client area of the parent window. If the window is a top-level window, the coordinates are relative to the screen origin.
-
lppos
-
Pointer to a WINDOWPOS structure that contains the size and position values specified in the operation that moved or resized the window.
QuickInfo
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
See Also
Windows Overview, Window Structures, MoveWindow, RECT, SetWindowPos, WINDOWPOS, WM_NCCALCSIZE