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: 825 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: Mon May 06 13:52:41 CEST 2024
Total time taken to generate the page: 0.03957 seconds
|