Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TTreeView vs ImageIndex

Status
Not open for further replies.

rcloutie

Programmer
May 26, 2005
164
CA
Hi there,

Is there any way for the TTreeView to not waste area reserved for the Image if ImageIndex=-1 (i.e. some nodes have ImageIndex assigned and others not)

Maybe OnCustomDraw or OnCustomDrawItem???

Thanks for reply,

Rej Cloutier
 
Have you tried assigning a 1x1 pixel image to the empty space?

[bobafett] BobbaFet [bobafett]
Code:
if not Programming = 'Severe Migraine' then
                       ShowMessage('Eureka!');
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top