Article View: borland.public.cppbuilder.nativeapi
Article #9003Dynamic TreeViews
From: baysystex
Date: Mon, 16 Aug 2004 14:10
Date: Mon, 16 Aug 2004 14:10
9 lines
1236 bytes
1236 bytes
I am developing a real-time app and I need to dynamically update a treeview once per minute. Rebuilding the treeview is easy, but how do I resize the treeview control when the number of items in the treeview changes? I really want to minimize the use of scrollbars. I see TTreeView uses a TCanvas, but how can I tell programmatically whether the Height and Width property of the treeview are too small such that the component adds scrollbars? Thanks, John
Technical Details
Message-ID:
<4120c046$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ecf0dc14ef30becb,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "baysystex" <baysystex@earthlink.net> Sender: "baysystex" <baysystex@earthlink.net> Reply-To: "baysystex" <baysystex@earthlink.net> Subject: Dynamic TreeViews Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 69.22.42.2 NNTP-Posting-Host: 207.105.83.66 Message-ID: <4120c046$1@newsgroups.borland.com> Date: 16 Aug 2004 07:10:14 -0700 X-Trace: newsgroups.borland.com 1092665414 207.105.83.66 (16 Aug 2004 07:10:14 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail