pythoncom.RegisterDragDrop

RegisterDragDrop(hwnd, dropTarget)

Registers the specified window as one that can be the target of an OLE drag-and-drop operation and specifies the PyIDropTarget instance to use for drop operations.

Parameters

hwnd : PyHANDLE

Handle to a window

dropTarget : PyIDropTarget

Object that implements the IDropTarget interface