Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.01 KB

DragAcceptFiles.md

File metadata and controls

53 lines (35 loc) · 1.01 KB

Home

Function name : DragAcceptFiles

Group: Shell Functions - Library: user32


Registers whether a window accepts dropped files.


Code examples:

Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)

Declaration:

VOID DragAcceptFiles(
	HWND hWnd,
	BOOL fAccept
);  

FoxPro declaration:

DECLARE DragAcceptFiles IN Shell32;
	INTEGER hWnd,;
	INTEGER fAccept  

Parameters:

hWnd Identifier of the window that is registering whether it will accept dropped files.

fAccept Value that indicates if the window identified by the hWnd parameter accepts dropped files.


Return value:

No return value.


Comments:

An application that calls DragAcceptFiles with the fAccept parameter set to TRUE has identified itself as able to process the WM_DROPFILES message from File Manager.