IDropTargetHelper::Show method (shobjidl_core.h)
Notifies the drag-image manager to show or hide the drag image.
Syntax
HRESULT Show(
[in] BOOL fShow
);
Parameters
[in] fShow
Type: BOOL
A boolean value that is set to TRUE to show the drag image, and FALSE to hide it.
Return value
Type: HRESULT
Returns S_OK if successful, or a COM error value otherwise.
Remarks
This method is used when dragging over a target window in a low color-depth video mode. It allows the target to notify the drag-image manager to hide the drag image while it is painting the window. While you are painting a window that is currently being dragged over, hide the drag image by calling Show with fShow set to FALSE. Once the window has been painted, display the drag image again by calling Show with fShow set to TRUE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll (version 5.0 or later) |