LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.office.developer.vba,microsoft.public.word.docmanagement
external usenet poster
 
Posts: 1
Default HitTest function does not return node as documented

I am trying to use a TreeView control within an Excel form(VBA). With the
TreeView control, I am able to display data from an XML document as source.
However when I try to implement drag and drop functionality, HitTest function
was used to get the a specific node using X and Y position (As documented in
MSDN). However the HitTest() function always returns the first Parent Node
within the TreeView control, no matter what node was clicked within the
TreeView Control.

Does anyone faced this problem. Am not sure if its a problem with the
Control itself when used with VBA. Please suggest me an approach to overcome
this.
 
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
Return Function scott Excel Worksheet Functions 2 October 21st 08 10:26 PM
need to create a node madhu16 Excel Discussion (Misc queries) 1 January 16th 08 12:02 PM
Why does this function NOT return a value? Nooby Excel Discussion (Misc queries) 3 May 22nd 06 03:07 PM
documented memory leaks in Excel 2003 or OWC11? PatFinegan[_12_] Excel Programming 0 February 2nd 04 05:15 PM
TreeView: add more than one node to nodes collection Peter[_25_] Excel Programming 3 September 5th 03 12:15 PM


All times are GMT +1. The time now is 10:31 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"