Re: Dialog color that matches tab in the XP theme too

2004-03-09 Thread Ben
What is the 01 in the upper byte for? I did not know that was used for anything. Ben

Re: Dialog color that matches tab in the XP theme too

2004-03-09 Thread Greg McKaskle
What is the 01 in the upper byte for? I did not know that was used for anything. The color format is xxrrggbb where xx means the uppers are reserved. If xx is 00, then the lowers form the 24 bit rgb value. If nonzero, then something else is going on and either the color is invalid or it

Re: Dialog color that matches tab in the XP theme too

2004-03-09 Thread Robert Cole
We got away from using system colours on all of our GUIs for just this reason. Explicitly stated colours allow us to have a consistent looking GUI on whatever OS. Might be an idea so that whatever scheme the OS producers come up with, the GUI will still be usable. BTW, we had some comments in the

Re: Dialog color that matches tab in the XP theme too

2004-03-09 Thread Mads
Thanks Greg! The color I was looking for is 16777271, works as expected (the color picker just shows it as black though). Can we have more system colors on the palette next time...?:-)

Re: Dialog color that matches tab in the XP theme too

2004-03-09 Thread Mads
We used to do that ourselves; but at a point we decided that it looked better to follow the windows theme. It takes some time to ensure that it looks OK on the most common themes, but it makes things look more native for the users.

Re: Dialog color that matches tab in the XP theme too

2004-03-09 Thread Mads
I've overlooked the dialog label(!)...in this case we haven't used separate labels so the coloring Greg helped with was nice to get, but I'll use the dialog label in the future.

Dialog color that matches tab in the XP theme too

2004-03-08 Thread Mads
We use system colors and dialog control for pretty much all our GUIs, but we've run into a problem when using a system background color on text labels on tab controls: There seems to be no system color that will match the theme color of a dialog tab control... We use the text labels as names on

Re: Dialog color that matches tab in the XP theme too

2004-03-08 Thread Greg McKaskle
We use system colors and dialog control for pretty much all our GUIs, but we've run into a problem when using a system background color on text labels on tab controls: There seems to be no system color that will match the theme color of a dialog tab control... We use the text labels as