Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Small Upp gems. Native icons in TreeCtrl
Re: Small Upp gems. Native icons in TreeCtrl [message #18451 is a reply to message #18448] |
Wed, 01 October 2008 19:31   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
tree1.Add(id, ff.IsFolder() ? GetFileIcon(n, true, false) : GetFileIcon(n, false, false),
I would write as:
tree1.Add(id, GetFileIcon(n, ff.IsFolder()),

And it's WIN32 specific :/ ... but nice change.
|
|
|
Goto Forum:
Current Time: Sat Jun 07 21:16:38 CEST 2025
Total time taken to generate the page: 0.04890 seconds
|