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 » 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 Go to previous messageGo to previous message
mr_ped is currently offline  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()),

Wink

And it's WIN32 specific :/ ... but nice change. Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: More small gems
Next Topic: Sample CUPS driver for PDF files generation
Goto Forum:
  


Current Time: Mon May 06 13:52:41 CEST 2024

Total time taken to generate the page: 0.03957 seconds