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_DESTROY (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
WM_DESTROY
 
The WM_DESTROY message is sent when a window is being destroyed. It is sent
to the window procedure of the window being destroyed after the window is
hidden.
 
This message is sent first to the window being destroyed, then to the child
windows as they are destroyed. During the processing of the WM_DESTROY
message, it can be assumed that all child windows still exist.
 
The message does not have any parameters.
 
Return Value
 
An application should return zero if it processes this message.
 
See Also
 
WinDestroyWindow, WM_CLOSE