Jeff Loucks wrote:

> Tam's sample code has the method. Here it is in one statement;

> UInt32 temp;
> Boolean fHasSWBrightnessControl =
>       FtrGet(sysFtrCreator,sysFtrNumHwrMiscFlags,&temp) == errNone
> &&
>       (temp & hwrMiscFlagHasBacklight) != 0 &&
>       FtrGet(sysFtrCreator,sysFtrNumHwrMiscFlagsExt,&temp) ==
> errNone &&
>       (temp & hwrMiscFlagExtHasSWBright) != 0;


I assume the first part of the test determines whether there's a backlight. I 
had this instead, how does it compare?

if ( SysGetTrapAddress( sysTrapHwrBacklightV33 ) != SysGetTrapAddress( 
sysTrapSysUnimplemented ) )


Luc Le Blanc

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

Reply via email to