Export (0) Print
Expand All
Expand Minimize

DAD_DragEnterEx2 function

[DAD_DragEnterEx2 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-and-drop operation and displays the drag image at the specified position within the window.

Syntax


BOOL DAD_DragEnterEx2(
  _In_      HWND hwndTarget,
  const POINT ptStart,
  _In_opt_  IDataObject *pdtObject
);

Parameters

hwndTarget [in]

Type: HWND

A handle to the window that owns the drag image.

ptStart

Type: const POINT

Specifies 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.

pdtObject [in, optional]

Type: IDataObject*

A pointer to the IDataObject interface on the data object. This data object contains the data being transferred in the drag-and-drop operation. If the drop occurs, this data object will be incorporated into the target. This parameter may be NULL.

Return value

Type: BOOL

Returns TRUE if successful, FALSE otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

See also

ImageList_DragEnter
DAD_DragEnterEx

 

 

Community Additions

ADD
Show:
© 2014 Microsoft