View Single Post
  #3   Report Post  
Balajee S
 
Posts: n/a
Default

There was a similar problem faced by Marco on using TreeView control, perhaps
when he was working with Word VBA. The message that was posted on 17-Jun-2004
and is available with the following search keyword from Google

"malfunction "TreeView HitTest " group:microsoft.public.word.vba.general"

Thought this might as well form a reference to people using TreeView control
in Word application.

"Suzanne S. Barnhill" wrote:

Although the other NGs to which you have cross-posted are doubtless
appropriate, word.docmanagement is a Word end user NG and is not relevant.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Balajee S" Balajee wrote in message
...
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.