Solved

More on Tree Views

Posted on 1998-05-12
5
145 Views
Last Modified: 2010-04-06
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.
0
Comment
Question by:Stuart_Johnson
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1345137
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
 
LVL 4

Expert Comment

by:d003303
ID: 1345138
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
 
LVL 6

Author Comment

by:Stuart_Johnson
ID: 1345139
Hi Slash.

Yeah, my DLL version is 4.72.2106.4 as well.

Stu
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 50 total points
ID: 1345140
Hi Stu

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

Cheers,
Dave
0
 
LVL 6

Author Comment

by:Stuart_Johnson
ID: 1345141
Thanks again mate for all your help.  Much appreciated!


Stuart.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now