treeview drag drop

  • Thread starter Richard Daniels
  • Start date
R

Richard Daniels

Hi

I have a problem using the treeview drag and drop
functionality.

I can drag nodes from 1 treewview to another or within the
same treeview. But the problem is that the node is always
added to the ROOT node.

I am trying to use the .HitTest(x,y) to select the node
that the mouse is over but this never returns te correct
node.

The parameters of the function differ slightly in VBA to
VB (I can get this to work in VB).

Is it something to do with the x, y being defined as
stdole.OLE_XPOS_PIXELS?

If anyone can help or just point me in the right directly
that would be great

TIA

Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top