Decoration in TreeCtrl

Hi --

I'm writing a small app on a Linux CentOS system which uses a TreeCtrl.
The problem is that I have a high resolution 4K monitor.

Functionally, the ListCtrl works but the +/- decoration is
very small, almost invisible. The text is readable.

Is there any way to adjust the size of the +/- decoration,
or replace it with different icons? TR_TWIST_BUTTONS appears
to be implemented only on Windows. Should I switch to using
CustomTreeControl?

···

--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077

I would say yes, go for customtreecontrol, use an imagelist, create a custom art provider
and assign the bitmaps you want to have. Maybe this works also for standard treecontrol but I never tried it
and therefore can only say it works for customtreecontrol.

Cheers
Claudia

I would say yes, go for customtreecontrol, use an imagelist, create a custom art provider
and assign the bitmaps you want to have. Maybe this works also for standard treecontrol but I never tried it
and therefore can only say it works for customtreecontrol.

Cheers
Claudia

Claudia,

I think your solution would allow custom icons for individual tree nodes, but would not affect the +/- expander built into the control itself.

David

David,
you are correct - I should have been more clear that my suggestion
is for Michaels question “or replace it with different icons”.

Cheers
Claudia