Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TreeCtrl » Hide expand/collapse ico
Re: Hide expand/collapse ico [message #41038 is a reply to message #40778] Wed, 23 October 2013 08:42 Go to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
koldo wrote on Sun, 15 September 2013 13:50

Hello iST1

I have tried Novo trick and it works perfectly for me Smile.

Try for example:
CtrlImg::Set(CtrlImg::I_treeplus, CtrlImg::save);
CtrlImg::Set(CtrlImg::I_treeminus, CtrlImg::save_as);



This has two potential drawbacks:

- it changes icons for ALL TreeCtrls (and possibly other code using those images)

- current TreeCtrl code does not account for the altered size of image, so if you provide something BIG, things will look weird

Anyway, I guess this is reasonable request, will provide the feature soon....

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TreeCtrlDnD inheritance bug?
Next Topic: SetFocus with EditString as Node
Goto Forum:
  


Current Time: Sat Apr 26 04:56:31 CEST 2025

Total time taken to generate the page: 0.01025 seconds