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_FORMATFRAME (1.2)
◄Message Group► ◄Overview► ◄Changes► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINFRAMEMGR
WM_FORMATFRAME
paswp = (paswp) PVOIDFROMMP(mp1); /* pointer to SWP array */
prcl = (PRECTL) PVOIDFROMMP(mp2); /* pointer to RECTL structure */
The WM_FORMATFRAME message is sent to a frame window to calculate the sizes
and positions of the frame controls and the client window. The frame-window
procedure sends the message to its client window and, if the client window
returns TRUE (indicating that it processed the message), no further action
occurs. Otherwise, the frame window calls the WinFormatFrame function.
Parameter Description
────────────────────────────────────────────────────────────────────────────
paswp Low and high word of mp1. Points to an array of SWP structures.
The array elements are filled in the order of the FID values of
the frame controls, with the FID_CLIENT window always the last
element in the array.
prcl Low and high word of mp2. Points to a RECTL structure that
contains the rectangle within which the frame controls are
formatted.
Return Value
An application should return TRUE if it processes this message.
Comments
Note that the paswp parameter points to memory allocated according to the
value returned by the WM_QUERYFRAMECTLCOUNT message. The application must
not write beyond this area.
See Also
WinFormatFrame, RECTL, SWP
♦