Home » U++ Library support » Look and Chameleon Technology » Appearance problem in TabCtrl
Re: Appearance problem in TabCtrl [message #32550 is a reply to message #32549] |
Tue, 24 May 2011 17:37   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
qapko wrote on Tue, 24 May 2011 10:25 | Hello,
I have appearance problem in TabCtrl on one machine running Windows XP using Ultimate++ 3211. Problem appears after setting transparent (opaque)
|
Is not transparent oposite of opaque?!
Quote: |
if(GetKind() == IMAGE_OPAQUE && paintcount == 0 && sr == Rect(sz) && IsWinNT() && w.IsGui()) {
LTIMING("Image Opaque direct set");
SetSurface(w, x, y, sz.cx, sz.cy, buffer);
// paintcount++; /* removing this line helped */
return;
}
|
Well, this piece of code is sort of optimization - if particular Image is painted only once, it is not transfered to BITMAP and painted directly ('SetSurface'). If painted for the second time, it gets coverted to BITMAP and painted that way, as we supposed that BITMAP is faster for repeated paints.
By removing the line, you force U++ to paint it always directly.
So, the first estimate is that Image is misclassified. Where is Image coming from? Is it .iml file, or is it something synthetised?
All in all, testcase would be fine...
Mirek
|
|
|
 |
|
Appearance problem in TabCtrl
By: qapko on Tue, 24 May 2011 16:25
|
 |
|
Re: Appearance problem in TabCtrl
By: mirek on Tue, 24 May 2011 17:37
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Tue, 24 May 2011 20:42
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Wed, 25 May 2011 15:00
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Thu, 26 May 2011 10:05
|
 |
|
Re: Appearance problem in TabCtrl
By: mirek on Mon, 30 May 2011 11:54
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Mon, 30 May 2011 14:17
|
 |
|
Re: Appearance problem in TabCtrl
By: mirek on Wed, 01 June 2011 20:42
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Thu, 02 June 2011 14:23
|
 |
|
Re: Appearance problem in TabCtrl
By: mirek on Fri, 03 June 2011 08:21
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Fri, 03 June 2011 22:24
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Mon, 06 June 2011 11:57
|
 |
|
Re: Appearance problem in TabCtrl
By: mirek on Tue, 07 June 2011 23:14
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Wed, 08 June 2011 10:18
|
 |
|
Re: Appearance problem in TabCtrl
By: mirek on Wed, 08 June 2011 19:55
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Thu, 09 June 2011 11:45
|
 |
|
Re: Appearance problem in TabCtrl
By: qapko on Mon, 13 June 2011 09:52
|
 |
|
Re: Appearance problem in TabCtrl
By: mirek on Mon, 13 June 2011 10:23
|
Goto Forum:
Current Time: Mon Apr 28 12:22:16 CEST 2025
Total time taken to generate the page: 0.04703 seconds
|