DragQueryPoint
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 POINT
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