IDragSourceHelper2 interface (shobjidl.h)

Exposes a method that adds functionality to IDragSourceHelper. This method sets the characteristics of a drag-and-drop operation over an IDragSourceHelper object.

Inheritance

The IDragSourceHelper2 interface inherits from IDragSourceHelper. IDragSourceHelper2 also has these types of members:

Methods

The IDragSourceHelper2 interface has these methods.

 
IDragSourceHelper2::SetFlags

Sets the characteristics of a drag-and-drop operation over an IDragSourceHelper object.

Remarks

This interface also provides the methods of the IDragSourceHelper interface, from which it inherits.

If you want to adjust the behavior of the drag image by calling IDragSourceHelper2::SetFlags, that call should be made before you call InitializeFromWindow or InitializeFromBitmap.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl.h