Drag & Drop - One Listview to another but highlight destination icon, not insert

Drag & Drop - One Listview to another but highlight destination icon, not insert

Post by Annette Mi » Mon, 31 Oct 2005 20:28:38


Hi All,

I'm asking what I'm hoping will be a simple question, although Google is
telling me otherwise. I can't seem to find out how to drag one item from a
list view to another with highlighting the destination icon. Like what
happens in Outlook when you drag an email over a folder icon in the folder
tree, or drag a file over a folder icon in Explorer.

I'm NOT asking how to do a simple "move item X from this listview to
another" rather how to highlight the destination icon.

Cheers people.
 
 
 

Drag & Drop - One Listview to another but highlight destination icon, not insert

Post by Atul » Tue, 01 Nov 2005 22:32:39

There is not direct way to do this in .Net, but you can do this using
interop. Include the LVIS_DROPHILITED style in the listview item state.

----------------
-Atul, Sky Software http://www.yqcomputer.com/
Shell MegaPack For .Net & ActiveX
Windows Explorer GUI Controls
&
Quick-Launch Like Appbars, MSN/Office2003 Style Popups,
System Tray Icons and Shortcuts/Internet Shortcuts
----------------