Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>dragquerypoint()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DragQueryPoint()
Returns the mouse position when a file is dropped
------------------------------------------------------------------------------

Syntax
DragQueryPoint ( <hDrop>, @<aPointDrop> )   -->   nInClient

Arguments
<hDrop> is the handle of an internal structure containing
information about dropped files, and is passed as the nwParam
of a WM_DROPFILES message.

@<aPointDrop> is an array that will be filled with the window
co-ordinates { nX, nY } of the mouse cursor when the files were dropped.

Returns
If files were dropped in the client area of window the return
value is greater than zero.  Otherwise, if files were dropped
outside the client area of the window, zero is returned.

Description
This function returns the window co-ordinates of the mouse
cursor when the files were dropped.

Example
See source\drop.prg and related files.

See Also: DragAcceptFiles() DragFinish() DragQueryFile()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson