Hi!
nR+nG*256+nB*256*256
>Anyone know how to convert RGB color pairs to a
>number, like GETCOLOR() returns?
>
>For example, RGB(255,255,255) = 16777215 (White). I want to
>pass in the values 255,255,255 and get back 16777215.
>
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.