WinXRegOnDropFiles


WinXRegOnDropFiles (hWnd, FUNCADDR onDropFiles)

Registers a callback function which is invoked when the user drags files into the window

Parameter Description
hWnd The handle to the window to register the callback for
FUNCADDR onDropFiles The address of the onDropFiles callback function to register

Returns

$$TRUE on success or $$FASE on fail

Remarks

If you do not register this callback and the user tries to drag files into your window, the cursor will change to indicate the operation is invalid.

Examples

' Register an onDropFiles callback function
WinXRegOnDropFiles (#hMain, &onDropFiles())

Related Links

onDropFiles