I've written the following function in my code to check this:


Boolean IsColorDevice()
{
        if (GetRomVersion() >= 0x03500000)
        {
                UInt32          depth;

                
WinScreenMode(winScreenModeGetSupportedDepths,NULL,NULL,&depth,NULL);
                if (depth >= 0x8a)
                        return true;
        }

        return false;
}


Chris

"Guy Duplantier, AEC Software" wrote:
> 
> 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?
> Thanks.
> 
> _________________________________________________________
> 
> Guy Duplantier                          Email: [EMAIL PROTECTED]
> Software Developer                      Phone: 703.450.1980
> AEC Software, Inc.                      Fax: 703.450.9786
> _________________________________________________________


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to