Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies a window that its nonclient area is being destroyed.
#define WM_NCDESTROY 0x0082
Parameters
wParam
This parameter is not used.
lParam
This parameter is not used.
Return value
Type: LRESULT
If an application processes this message, it should return zero.
Remarks
The DestroyWindow function sends the WM_NCDESTROY message to the window following the WM_DESTROY message. WM_NCDESTROY is used to free the allocated memory object associated with the window.
The WM_NCDESTROY message is sent after the child windows have been destroyed. In contrast, WM_DESTROY is sent before the child windows are destroyed.
A window receives this message through its WindowProc function.
This message frees any memory internally allocated for the window.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | Winuser.h (include Windows.h) |