Drag And Drop/Explorer Styling

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to mimic a behviour and obviously having some trouble with it.

Open up two Windows Explorer windows. Select a file in (1) and drag it to a
folder in (2). Prior to dropping it, the now "target" folder highlights as
selected, confirming to the user that that is where it's going. The best I
can do is get the Arrow with a dotted rectangle below it and then highlight
the target AFTER the drop has been made.

For information purposes, I am dragging from a TreeView to a ListBox, though
I have some flexibility on the to......I can go to another TreeView or
ListView. I have tried this with both of these controls with the same
result. Thanks in advance.

Ed
 
If you can use Win32 API interop, you can use the LVIS_DROPHILITED state for
the ListViewItem

-Atul, Sky Software http://www.ssware.com
Shell MegaPack ActiveX & .Net
Drop In Windows Explorer like Shell Browsing GUI controls for your app.
 
Back
Top