>Word of caution. I just finished working on a hack that uses color >tables. There appears to be a mistake in the constants that refer to >the color table. There is a constant called _ctTable. This constant is >the offset from the color table handle to the actual data or colors in >the table. I don't know what the value is defined as right now but when >my program didn't work I looked it up and it didn't match Inside Mac. >It was kind of confusing to figure out what it should have been but I >concluded the value is 10. Many of the FB constants are different from the ones in IM (for example, the constants for the window record). So you have to double check every constant that you use when you refer to Toolbox records. This is, needless to say, a pain in the tuckus. If you are referring to the ctTable offset in the ColorTable structure then the offset appears to be 8, according to Think Reference. ____________________ wave(Toronto, Canada) Genius is 50% inspiration, 50% perspiration, and 50% having the right tools.