XTF2_FILEDROP

Flag XTF2_FILEDROP enables the ability to detect when a file is dragged from Explorer—or a Windows Shell dialog such as a File Open dialog—and dropped on the XTREE control. The drop event triggers exitcode -75. The application must then call MX_DRAGDROP to retrieve the filespec of the dropped file, with which it can do whatever it wants, perhaps adding the file name or related attributes as an item to the tree contents.

See Also

•   XTF_DRAGDROP to drag and drop within a single tree, for item re-ordering..

•   XTF2_DRAGDROP2 for drag/drop operations involving more than one XTREE control.