Jump to content

WM DESTROY: Difference between revisions

From EDM2
Created page with "This message is sent to the clipboard owner when the clipboard is emptied through a call to WinEmptyClipbrd. ==Syntax== <PRE> param1 ULONG ulReserved; Reserved value, should be 0.: param2 ULONG ulReserved; Reserved value, should be 0.: </PRE> ==Parameters== ;ulReserved (ULONG) - Input : Reserved value, should be 0. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved (ULONG) - returns : Reserved val..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This message is sent to the clipboard owner when the clipboard is emptied through a call to [[WinEmptyClipbrd]].
This message occurs when an application requests the destruction of a window.  
==Syntax==
==Syntax==
<PRE>
<PRE>
Line 20: Line 20:


==Remarks==
==Remarks==
If there is any data that has been set with the CFI_OWNERFREE flag, the clipboard owner must release the data at this time.
This message is sent to the window procedure of the window being destroyed after it has been hidden on the device, thereby offering it an opportunity to perform some termination action for that window.  


==Default Processing==
==Default Processing==
None.
The default window procedure takes no action on this message, other than to set ulReserved to 0.  


[[Category:Messages]]
[[Category:Messages]]

Latest revision as of 22:37, 13 April 2025

This message occurs when an application requests the destruction of a window.

Syntax

param1
    ULONG   ulReserved;  /* Reserved value, should be 0. */

param2
    ULONG   ulReserved;  /* Reserved value, should be 0. */

Parameters

ulReserved (ULONG) - Input
Reserved value, should be 0.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

ulReserved (ULONG) - returns
Reserved value, should be 0.

Remarks

This message is sent to the window procedure of the window being destroyed after it has been hidden on the device, thereby offering it an opportunity to perform some termination action for that window.

Default Processing

The default window procedure takes no action on this message, other than to set ulReserved to 0.