This article is from the Mac Programming FAQ, by Jon Watte h+@austin.metrowerks.com with numerous contributions by others.
_Gestalt lies under some versions of System 7; it says that non-color
machines HAVE color QuickDraw when you test using the
gestaltQuickdrawFeatures selector.
Instead, check the gestaltQuickdrawVersion selector, if it returns >=
gestalt8BitQuickdraw then you can safely use gestaltQuickdrawFeatures,
else you only have b/w QuickDraw.
 
Continue to: