Well wouldn't it all be simpler if you used the simple define
#define RGBtoInt(a) (*(UInt32 *)(&(a)))
You can use that for setting and comparing, just make sure 'a' is a RGB 
variable. This is similiar to the format of the DateToInt and TimeToInt macros, 
that are defined in the headers. 
Lionscribe

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

Reply via email to