Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default treeview drag drop

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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drag & Drop Freshman Excel Worksheet Functions 1 November 5th 09 08:26 AM
Drag and drop pictures Luke Williams Excel Discussion (Misc queries) 0 March 12th 08 02:52 PM
drag and drop sramsey Excel Discussion (Misc queries) 5 February 22nd 08 09:35 AM
drag and drop linked cel dzelnio Excel Discussion (Misc queries) 3 July 6th 07 01:29 PM
Drag and drop Bonzo123 New Users to Excel 2 June 13th 05 09:05 AM


All times are GMT +1. The time now is 03:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"