When under WinXP themes are enabled, themed buttons get unthemed, if the
colour (foreground and/or background) of the button change. I think
that's clear for the background colour, but why does the button lose the
theme, when the foreground colour is changed?
Is it possible for the button to get the theme back?
thx & cu boesi
···
--
Vergessen wir alles, was wir zu wissen glauben, #1671 : icq-intern
und schaffen Platz fuer neue Erkenntnisse. #73628288 : icq-extern
boesi111 : aim
i171 : reallife
Windows doesn't support changing the color of "standard" buttons, so
when you change the color of a wxButton it turns into an owner-drawn
button under the hood. This means you lose the theming.
Stick to the OS provided colors and you'll keep the theme.
hmm thx
Than I have another question:
I have a save-button and when there is something to save I want to give
a hint to the user, that the user should save. Therefore I change the
foreground colour of the button to red and after saving back to the
standard colour.
How could I give this hint, without changing the colour?
thx & cu boesi
···
Am 16.12.2004 13:24:42 schrieb Chris Mellon:
--
<seasons82> was ist rl? #1671 : icq-intern
<seasons82> und muss man das wissen? #73628288 : icq-extern
...der moment wo einem klar wird, boesi111 : aim
dass man zuviel chattet... i171 : reallife
Windows doesn't support changing the color of "standard" buttons, so
when you change the color of a wxButton it turns into an owner-drawn
button under the hood. This means you lose the theming.
Stick to the OS provided colors and you'll keep the theme.
hmm thx
Than I have another question:
I have a save-button and when there is something to save I want to give
a hint to the user, that the user should save. Therefore I change the
foreground colour of the button to red and after saving back to the
standard colour.
How could I give this hint, without changing the colour?
Would Enable/Disable give enough of a hint for you?
···
Am 16.12.2004 13:24:42 schrieb Chris Mellon:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Would Enable/Disable give enough of a hint for you?
Well it has to be enough, if that's the only way. But when I have time
(I can't believe that this will ever happen *g*), I'll create bitmaps
for the buttons and then this question gets obsolete.