IDragSourceHelper2::SetFlags method
Sets the characteristics of a drag-and-drop operation over an IDragSourceHelper object.
Syntax
HRESULT SetFlags(
[in] DWORD dwFlags
);
Parameters
- dwFlags [in]
-
Type: DWORD
The flags that determine the characteristics of a drag-and-drop operation over an IDragSourceHelper object.
-
Allow text specified in DROPDESCRIPTION to be displayed on the drag image. If you pass this flag into the dwFlags parameter of IDragSourceHelper2::SetFlags, then the text description is rendered on top of the supplied drag image. If you pass a drag image into an IDragSourceHelper object, then by default, the extra text description of the drag-and-drop operation is not displayed.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|