Name

Public Const WM_NCCALCSIZE = &H83

Synopsis

wParam

If True, the window needs to define the area that does not need repainting. If False, the entire window is repainted.

lParam

If wParam is True, this parameter contains a pointer to an NCCALCSIZE_PARAMS structure, defined in Appendix C. If wParam is False, this parameter contains a pointer to a RECT structure, defined in Appendix C.

Description

Indicates that the client area must be resized.

Return Value

If wParam is True, the return value is one or more of the following, defined in Appendix C:

WVR_ALIGNTOP
WVR_ALIGNLEFT
WVR_ALIGNBOTTOM
WVR_HREDRAW
WVR_VREDRAW
WVR_REDRAW
WVR_VALIDRECTS

If wParam is False, the return value is 0.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.