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_CONTROLHEAP (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
WM_CONTROLHEAP
 
The WM_CONTROLHEAP message is sent to a control's owner when the control
must get a handle to a heap from which to allocate memory. (For example,
entry-field controls allocate memory to hold the text associated with the
control.)
 
Usually, an application can ignore this message, passing it on to the
default window procedure, which then returns a handle to a heap maintained
by the system for each message queue for this purpose.
 
This message does not use any parameters.
 
Return Value
 
An application should return a heap handle if it processes this message.
 
See Also
 
WinCreateHeap