Solved

C++ Builder: Question on TTreeView

Posted on 2002-07-29
2
701 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

730 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