Jump to content

WM QUERYBORDERSIZE

From EDM2

This message is sent to the frame window to determine the width and height of the border of the window.

Syntax

param1
PWPOINT pSize;     /* Width and height of size border control. */

param2
ULONG ulReserved;    /* Reserved value, should be 0. */

Parameters

pSize (PWPOINT) - Output
Pointer to a POINTL structure that is used to hold the width in the x parameter and the height in the y parameter.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

rc (BOOL) - returns
Success indicator.
TRUE: Successful completion.
FALSE: Error occurred.

Remarks

The frame window responds to this message by returning the width and height of its border in the pSize parameter, as follows:

  • SV_CX/CYSIZEBORDER if FCF_SIZEBORDER is specified
  • SV_CX/CYDLGFRAME if FCF_DLGBORDER is specified
  • SV_CX/CYBORDER if FS_BORDER is specified.

Default Processing

The default window procedure does not expect to receive this message and therefore takes no action on it, other than to set rc to the default value of FALSE.