>From: "Guy Duplantier, AEC Software" <[EMAIL PROTECTED]>

>How do I tell if I'm on a color Palm? I know I can check 
>if I'm on a 3.5 system, but can I check if that system 
>is color or not?

If you're on 3.5 or above, use WinScreenMode to determine the bit-depth of
the screen:

  WinScreenMode(winScreenModeGet, 0, 0, &Depth, 0);
  if (Depth >= 8)
    Color!

        Doug Gordon
        GHCS Software

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to