mIRC Home    About    Download    Register    News    Help

Print Thread
6.17 switchbar button text does not match XP theme #142430 18/02/06 05:07 AM
Joined: Oct 2003
Posts: 101
root66 Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Oct 2003
Posts: 101
From 6.17 versions.txt:

79. Fixed switchbar button text color not matching XP theme color.

I am not sure which theme text this is supposed to match, but it does not appear to be button or dialog text. All I get is black, which is unreadable with a dark windows theme.

In my opinion, the best solution to this is to allow for a separate color setting. It seems like it would have been an easier and more functional addition. I am not giving up dark themes just for mIRC. :tongue:

Re: 6.17 switchbar button text #142431 19/02/06 02:32 AM
Joined: Oct 2003
Posts: 101
root66 Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Oct 2003
Posts: 101
Someone else recently posted a report stating that when you set a background for the channel switchbar, the buttons are no longer themed by Windows XP.

In an attempt to pinpoint my button-text-color issue, I tried a switchbar background and saw that this is indeed true. The buttons are no longer themed, but the button text is normal!

It would really be nice if we could have our themed buttons and still have the button text color behave normally, like it did before 6.17, but this is at least a temporary solution to make switchbar buttons readable again.

Temporary fix #142432 20/02/06 02:18 AM
Joined: Oct 2003
Posts: 101
root66 Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Oct 2003
Posts: 101
People who use dark themes may get some use out of this:

Code:
on *:active:*:scid $$lactivecid window -g3 $+(",$$lactive,")


Unfortunately mIRC will not allow you to change the color of the active window button text, so the active window will still have black text on the switchbar.

Re: 6.17 switchbar button text does not match XP theme #142433 21/02/06 07:13 PM
Joined: Dec 2002
Posts: 4,538
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,538
Do you mean that you are using a custom mIRC theme and that because of that you can't see the button text?

Or that mIRC is using a button text color that does not match your Windows button text theme color?

I'm pretty sure that mIRC is using the Windows theme/non-theme text color for buttons (COLOR_BTNTEXT).

Re: 6.17 switchbar button text does not match XP t #142434 21/02/06 07:50 PM
Joined: Sep 2005
Posts: 2,876
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,876
I take it you mean GetSysColor(COLOR_BTNTEXT)? COLOR_BTNTEXT itself will always be 18, which would explain why it's always black if you're using COLOR_BTNTEXT on its own, although there are a few functions that accept the constant instead of the rgb value.

Re: 6.17 switchbar button text does not match XP t #142435 21/02/06 08:42 PM
Joined: Dec 2002
Posts: 4,538
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,538
Yes, using GetSysColor() to retrieve the button text.

Re: 6.17 switchbar button text does not match XP t #142436 21/02/06 08:45 PM
Joined: Sep 2005
Posts: 2,876
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,876
That should be right then *shrug*