Solved

More on Tree Views

Posted on 1998-05-12
5
150 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi 2 69
creating threads in delphi 1 133
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 71
Wincontrol not (correctly) drawn 15 40
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 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