Mastering the TTreeView component,
part 2

from the December issue
In the November issue of C++Builder Developer's Journal, we showed you how to build a TTreeView component programmatically and gave you some tips for runtime navigation. This month, we'll create a similar application, but we'll start with an empty TTreeView and write the code to respond to user-generated events--including drag and drop. Finally, we'll demonstrate how you can save the information in a TTreeView so that it can be retrieved when your program runs again later.

Mastering TTreeView component,
part 1

from the November issue
This article is the first in a two-part series covering the TTreeView component. While TTreeView is a powerful tool for visualizing hierarchical relationships, it's somewhat difficult to take advantage of as a data structure. We'll try to take the pain out of implementing TTreeView by looking at its basic elements and discussing their relationships. Then, we'll examine the methods and attributes used to build and maneuver within a TTreeView.
Back Issues
A great resource of material from C++Builder Developer's Journal. You'll find the complete contents of every issue right here!

Source Code
Download source code listings and sample files from current and back issues of C++Builder Developer's Journal. Why type in all that code when we've got it ready and waiting for you?

C++ Builder Discussion Group
Have a question? Want to see what other C++Builder developers are up to? Join our moderated discussion list!

[ Check It Out ]
Get published!
Do you have a great tip or a full-fledged technique you'd like to share with the C++Builder developer community? Take a look at our writers' guidelines and drop us a line.

Copyright © 1999, ZD Inc. All rights reserved. ZD Journals and the ZD Journals logo are trademarks of ZD Inc. Reproduction in whole or in part in any form or medium without express written permission of ZD Inc. is prohibited. All other product names and logos are trademarks or registered trademarks of their respective owners.