Поделиться через


ImageList_DragEnter (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

BOOL WINAPI ImageList_DragEnter(
  HWND hwndLock, 
  int x, 
  int y 
);

Parameters

  • hwndLock
    [in] Handle to the window that owns the drag image.
  • x
    [in] Specifies 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
    [in] Specifies 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

Nonzero indicates success. Zero indicates failure.

Remarks

To begin a drag operation, use theImageList_BeginDrag function.

Requirements

Header commctrl.h
Library commctrl.lib, Imgctl.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Image List Functions
ImageList_BeginDrag
ImageList_DragLeave