[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bitmaps & catch-errors

I'm not sure about the cause of a crash, but anyway, beware of code copying
bits from the screen. The bitmap you're getting is the bitmap of the main
screen, not the bitmap of your window (there is no such thing in QuickDraw).
Your window could be covered by another one, or partially offscreen, or on
another screen, in which case you will not get what you expect, maybe even
a bus error if you refer to nonexistant memory.