Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview 2 Listview Drag Drop Query.

Status
Not open for further replies.

JNeave

Programmer
Jan 28, 2002
125
GB
OK, heres what I got so far,

I can drag from the treeview, storing the Treeview.SelectedItem.Key in the Data object.

It arrives in the ListView, and I can just do
MsgBox Data.GetData(vbCFText)
and I have received the Key (not particularily usefull, but it shows that it works.)

What I need to know is which list item the user dropped onto. I have the X, Y values, but they don't seem to be much use, to much hard work to convert them into a listitem.

Is it possible, what I'm trying to do?

Cheers,

Jim.
 
I think you can find the listview index by using
n = lv.DropHighlight.Index
in lv_DragDrop().
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top