msgs12.hlp (Topic list)
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