shell.DragQueryPoint

int, (int,int) = DragQueryPoint(hglobal)

Retrieves the position of the mouse pointer at the time a file was dropped during a drag-and-drop operation.

Parameters

hglobal : PyHANDLE

The HGLOBAL object - generally obtained the 'data_handle' property of a PySTGMEDIUM

Comments

The window for which coordinates are returned is the window that received the WM_DROPFILES message

Return Value

The first item of the return tuple is True if the drop occurred in the client area of the window, or False if the drop did not occur in the client area of the window.