DAD_DragEnterEx function (shlobj_core.h)

[DAD_DragEnterEx is available in Windows 2000 and Windows XP. It might be altered or unavailable in subsequent versions. Use ImageList_DragEnter instead. ]

Locks updates to the specified window during a drag operation and displays the drag image at the specified position within the window.

Syntax

BOOL DAD_DragEnterEx(
  HWND        hwndTarget,
  const POINT ptStart
);

Parameters

hwndTarget

Type: HWND

A handle to the window that owns the drag image.

ptStart

Type: const POINT

The coordinates at which to begin displaying the drag image. The coordinates are relative to the upper-left corner of the window, not the client area.

Return value

Type: BOOL

Returns TRUE if successful, or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)
Library Shell32.lib
DLL Shell32.dll (version 5.00 or later)