msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_QUERYBORDERSIZE (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINFRAMEMGR
 
WM_QUERYBORDERSIZE
pptl = PVOIDFROMMP(mp1);    /* pointer to POINTL structure */
 
The WM_QUERYBORDERSIZE message is sent to a window to determine the size of
its border. Typically, this message is sent to the frame window.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pptl       Low and high word of mp1. Points to a POINTL structure that will
           contain the window border's width and height.
 
Return Value
 
An application should place the size of the window borders into the POINTL
structure pointed to by pptl and return TRUE for success or FALSE for
failure.
 
See Also
 
WM_SETBORDERSIZE, POINTL