This topic has not yet been rated - Rate this topic

DDWM_UPDATEWINDOW message

Applies to: desktop apps only

Instructs a drop image window to update using new DROPDESCRIPTION information.

Parameters

wParam [in]

Not used.

lParam [in]

Not used.

Remarks

DDWM_UPDATEWINDOW is defined as WM_USER+3.

When the state of a drop operation changes—such as in response to a modifier key—IDropTarget::DragOver returns a new DROPEFFECT value (this DROPEFFECT value can also be received through IDropSource::GiveFeedback). In response, the application updates the drop target's DROPDESCRIPTION structure with a new DROPIMAGETYPE value that indicates the decoration to be applied to the drag window's visual; for instance, an indication that the file is being copied rather than moved or that the object cannot be dropped to that location. However, the visuals are not updated until the object receives a DDWM_UPDATEWINDOW message.

The DragWindow clipboard format provides the HWND of the recipient drag window to the sender of the DDWM_UPDATEWINDOW message.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ