lotus



previous page: 10.6) Why does my application work on my Quadra but not on my accellerated SE? (Compatibility - Mac Programming)
  
page up: Mac Programming FAQ
  
next page: 11.1.1) I want to write a Amiga QuickTime player and need the CODEC format details. (Optional System Software - Mac Programming)

10.7) I do check for color quickdraw, but crash nevertheless. (Compatibility - Mac Programming)




Description

This article is from the Mac Programming FAQ, by Jon Watte h+@austin.metrowerks.com with numerous contributions by others.

10.7) I do check for color quickdraw, but crash nevertheless. (Compatibility - Mac Programming)

_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:















TOP
previous page: 10.6) Why does my application work on my Quadra but not on my accellerated SE? (Compatibility - Mac Programming)
  
page up: Mac Programming FAQ
  
next page: 11.1.1) I want to write a Amiga QuickTime player and need the CODEC format details. (Optional System Software - Mac Programming)