What is the 01 in the upper byte for?
I did not know that was used for anything.
Ben
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
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
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...?:-)
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.
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.
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
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