DragQueryPoint  1H_A9BO 

The DragQueryPoint function retrieves the position of the mouse pointer at the time a file was dropped.

BOOL DragQueryPoint(

    HDROP hDrop,

// handle to structure for dropped file

    LPPOINT lppt

// pointer to structure for mouse coordinates

   );

 

 

Parameters

hDrop

Identifies the structure describing the dropped file.

lppt

Points to a POINT44VP0_ structure that the function fills with the coordinates of the mouse pointer at the time the file was dropped.

 

Return Values

If the drop occurred in the client area of the window, the return value is nonzero.

If the drop did not occur in the client area of the window, the return value is zero.

Remarks

The DragQueryPoint function fills the POINT structure with the coordinates of the mouse pointer at the time the user released the left mouse button. The window for which coordinates are returned is the window that received the WM_DROPFILES message.

See Also

DragQueryFile, POINT, WM_DROPFILES