--- In [email protected], "quantiworks" <quanticwo...@...> wrote:
>
> --- In [email protected], "brucexs" <bswitzer@>
> wrote:
> >
> > 0x313131
> >
>
> bruce it still doesn't work.
> If
> R156
> G74
> B0
>
> dll.call("SetSysColors|uint uint* uint*",1,1,0x156740)
>
> How are RGB values differentiated? I mean 156740 could be
> R15
> G67
> B40
>
> explaining the different colors I'm getting...
> I've tried with hex values and the results are the same.
>
> dll.call("SetSysColors|uint uint* uint*",1,1,0xbf00) "red"
>
> changes desktop color to "bright green"
>
> I'm I doing it wrong?
>
How about:
;--------------
local dcolor=inputcolor
if (pproflag(0))
dll.call("SetSysColors|uint uint* uint*",1,1,dcolor)
;end------------
if you want to use specific colors you could use
win.debug(inputcolor)
and use the numbers it gives you.
Regards,
Sheri