ImageList_DragEnter function (commctrl.h)
Displays the drag image at the specified position within the window.
Syntax
BOOL ImageList_DragEnter(
HWND hwndLock,
int x,
int y
);
Parameters
hwndLock
Type: HWND
A handle to the window that owns the drag image.
x
Type: int
The x-coordinate at which to display the drag image. The coordinate is relative to the upper-left corner of the window, not the client area.
y
Type: int
The y-coordinate at which to display the drag image. The coordinate is relative to the upper-left corner of the window, not the client area.
Return value
Type: BOOL
Returns nonzero if successful, or zero otherwise.
Remarks
To begin a drag operation, use the ImageList_BeginDrag function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |
Library | Comctl32.lib |
DLL | Comctl32.dll |