RE: Please explain colors

new topic     » goto parent     » topic index » view thread      » older message » newer message

Tony Steward wrote:
> 
> OK I understand now this is 24bit colours.
> sorry to bother you all.
> 
> Tony Steward wrote:
> > 
> > 
> > Hello everybody,
> > In the likes of IDE if you specify the color red it equals 255.
> > A particular shade of blue is 8388608.
> > 
> > Please explain this numbering system to me.
> > 
> > How do I explain in my documents to an end user how to get the number 
> > corrisponding to the color they would like to use.
> > 
> > I have an ini file the end user can edit with the following lines in it.
> > 
> > [snip]
> >   GridColorBackground = 16777215
> >   GridColorText = 0
> >   GridColorBackgroundSelect = 12615680
> >   GridColorTextSelect = 16777215
> >   GridColorInKeys = 32768
> >   GridColorLostDamKeys = 128
> >   GridColorOutKeys = 8388608
> > [/snip]
> > 
> 
> Give your hardest tasks to your lasiest workers. 
> They will always find the easiest way to complete it.
> 
> 

There are ways to make an application pick up the user's theme. You'd use
special color values for that. I'm sure Derek or any other who is more into win32
programming can tell you exactly how.

Regards, Alexander Toresson

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu