win32gui.DragAcceptFiles

DragAcceptFiles(hwnd, fAccept)

Registers whether a window accepts dropped files.

Parameters

hwnd : int

Handle to the Window

fAccept : int

Value that indicates if the window identified by the hWnd parameter accepts dropped files. This value is True to accept dropped files or False to discontinue accepting dropped files.