Drag & Drop into a CWindowImpl?
-
I have an object that derives from CWindowImpl and I would like to make it a drop target. Apparently adding IDropTarget isn't enough and I would like to know what else is required for me to add drag and drop. My scenario is that I have a TreeView and would like to click on one of the items and drag it onto a custom view and fire off a behaviour based on the item that has been dragged. Cheers, Clint
-
I have an object that derives from CWindowImpl and I would like to make it a drop target. Apparently adding IDropTarget isn't enough and I would like to know what else is required for me to add drag and drop. My scenario is that I have a TreeView and would like to click on one of the items and drag it onto a custom view and fire off a behaviour based on the item that has been dragged. Cheers, Clint
You need to call
RegisterDragDrop()
as well. --Mike-- Just released - RightClick-Encrypt v1.4 - Adds fast & easy file encryption to Explorer My really out-of-date homepage Sonork-100.19012 Acid_Helm