Home » U++ Library support » Look and Chameleon Technology » Very strange issue with WindowBlinds
Re: Very strange issue with WindowBlinds [message #13894 is a reply to message #13726] |
Thu, 31 January 2008 15:51   |
cbpporter
Messages: 1428 Registered: September 2007
|
Ultimate Contributor |
|
|
I must say that poking into Chameleon code is one of my least pleasant activities in U++. But it seems that slowly I'm getting the hang of it.
Quote: | It seems that ToolButtons outside of a toolbar are almost completely immune to system skin changes, the only thing that changes visually is the presence or absence of the ugly look.
|
I use a lot of ToolButtons because U++ lacks a good flat button. It seems that somehow the button does not manage to access the correct style, probably because setting up the styles is left to ToolBar. This fixes the issue:
ToolButton::ToolButton()
{
Reset();
checked = false;
paint_checked = false;
SetStyle(ToolBar::StyleDefault().buttonstyle);
Transparent();
}
[Updated on: Thu, 31 January 2008 15:52] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Aug 21 14:42:11 CEST 2025
Total time taken to generate the page: 0.09719 seconds
|