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_QUERYFRAMECTLCOUNT (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINFRAMEMGR
 
WM_QUERYFRAMECTLCOUNT
 
The WM_QUERYFRAMECTLCOUNT message is sent to determine the maximum number of
frame controls that can exist in the frame window.
 
This message does not use any parameters.
 
Return Value
 
An application should return the number of frame controls a frame window can
have. This is usually (FID_CLIENT - FID_SYSMENU + 1).
 
Comments
 
There is no limit to the number of controls that can be supported. Because
it is used for memory allocation, it is critical that this message return a
number that is no less than the actual number of controls in a frame.
 
See Also
 
WM_FORMATFRAME