Solved

C++ Builder: Question on TTreeView

Posted on 2002-07-29
2
698 Views
Last Modified: 2008-03-10
Hi -
I'm using a TTreeView to display a number of options. Each node has a checkbox so he can activate / deactivate each option.

And now the question: who do I implement the checkbox behaviours ? Which user event do I have use ?

I allready have the checkbox graphics and the code how to chang ther states, but I just don't find the right event to get the user input :(

best regards,

ben utzer
0
Comment
Question by:benutzername
2 Comments
 
LVL 5

Accepted Solution

by:
alanwhincup earned 50 total points
ID: 7185935
Have a look at this demo app:

http://www.chriwen.de/cpp/treeview/treeview.zip
0
 

Author Comment

by:benutzername
ID: 7190533
thanx a lot! great demo....

(there was only one minor problem: you included GIG.lib - don't know what that is, but I had to delete this link to make the demo runnable - after that everything worked just great)

best regards

ben utzer
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

773 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