DragQueryPoint function (shellapi.h)
Retrieves the position of the mouse pointer at the time a file was dropped during a drag-and-drop operation.
Syntax
BOOL DragQueryPoint(
[in] HDROP hDrop,
[out] POINT *ppt
);
Parameters
[in] hDrop
Type: HDROP
Handle of the drop structure that describes the dropped file.
[out] ppt
Type: POINT*
Pointer to a POINT structure that, when this function returns successfully, receives the coordinates of the mouse pointer at the time the file was dropped.
Return value
Type: BOOL
TRUE if the drop occurred in the client area of the window; otherwise FALSE.
Remarks
The window for which coordinates are returned is the window that received the WM_DROPFILES message.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shellapi.h |
Library | Shell32.lib |
DLL | Shell32.dll (version 4.0 or later) |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για