Contents Index Topic Contents | ||
Previous Topic: DragQueryFile Next Topic: FindExecutable |
DragQueryPoint
Retrieves the position of the mouse pointer at the time a file was dropped from a drag-and-drop operation.
Syntax
BOOL DragQueryPoint( HDROP hDrop, LPPOINT lppt );Parameters
- hDrop
- Identifier of the structure that describes the dropped file.
- lppt
- Address of a POINT structure that the function fills with the coordinates of the mouse pointer at the time the file was dropped.
Return Values
Returns nonzero if the drop occurred in the client area of the window, or zero if the drop did not occur in the client area of the window.
Remarks
The window for which coordinates are returned is the window that received the WM_DROPFILES message.
See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.