More on Tree Views

Ok.  I have some info, now I need a bit more.  

I am using a Tree View which is divided into five catagories.  Depending upon which catagory I have selected, the popup menu changes.

However, if I right click on a node, the popup menu appears, but it is leaving the old node selected.  

I have set the RightClickSelect property to true, but even that doesnt work.  If I click on say the tenth node in the list, it will just jump straight back to the last selected node.  How do I over come this?

Another thing is, when I am doing drag and drop, how do I make the node which the mouse is over select?  IE, if I drag an item over the fifth node, I want it to highlight as the targetted node.

Any help would be gratefully accepted :)

Stu.
LVL 6
Stuart_JohnsonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JimBob091197Commented:
Hi Stu

On my PC the target node is highlighted during drag-drop.

Unfortunately, I don't have any help regarding the RightClickSelect property...

Regards,
JB
0
d003303Commented:
Yo,
I think you have an old version of comctl32.dll wich is quite buggy. This DLL was updated with several versions of MS Office, Internet Explorer and Service Packs. The current version is 4.72.2106.4, the shipped version of W95/NT4 is 4.70. Check that out.

Slash/d003303
0
Stuart_JohnsonAuthor Commented:
Hi Slash.

Yeah, my DLL version is 4.72.2106.4 as well.

Stu
0
JimBob091197Commented:
Hi Stu

I'm posting this answer based on our e-mail communication.

Cheers,
Dave
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Stuart_JohnsonAuthor Commented:
Thanks again mate for all your help.  Much appreciated!


Stuart.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.