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_SETBORDERSIZE (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINFRAMEMGR
 
WM_SETBORDERSIZE
cx = SHORT1FROMMP(mp1);    /* width  */
cy = SHORT1FROMMP(mp2);    /* height */
 
The WM_SETBORDERSIZE message is sent to a frame window to change its
size-control's border width and height.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
cx         Low word of mp1. Specifies the width of the size control.
 
cy         Low word of mp2. Specifies the height of the size control.
 
Return Value
 
An application should return TRUE if the size control is set. Otherwise, it
should return FALSE.
 
See Also
 
WM_QUERYBORDERSIZE