U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Sat Apr 25 20:01:53 GMT+2 2026

Total time taken to generate the page: 0.00666 seconds