Hiya Gil ---
I believe that there is an API call to determine that.... I would suggest that you direct this question to George Tasker who's the master of API calls....
>
>I know that by using SYSMETRIC() we can read height and width of a screen. What about for number of colors (256, 64 mil, etc)? I've searched the whole help area and don't seem to find such function.
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05