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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » NoBackground
Re: NoBackground [message #7354 is a reply to message #7353] Sat, 23 December 2006 11:51 Go to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
fallingdutch wrote on Sat, 23 December 2006 05:41

What is the difference between NoBackground and Transparent then?

Bas


Good question. I was sitting at the issue for 20 minutes before deciding that two are distinct.

The reason is described above: You might want to provide thr background by overriding Paint method. In that case, Transparent is not necessary. And it is slower than "direct" painting. So by keeping features distinct, you can achieve better performance in special cases.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: U++ now in namespace Upp.....
Next Topic: TreeCtrl / ArrayCtrl / ColumnList unification
Goto Forum:
  


Current Time: Mon Jul 07 10:11:56 CEST 2025

Total time taken to generate the page: 0.03627 seconds