Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!shelby!morrow.stanford.edu!news From: craig@pangea.Stanford.EDU (Craig Jarchow) Newsgroups: comp.sys.mac.programmer Subject: Off Screen Bit Maps Message-ID: <1990Dec17.212129.27971@morrow.stanford.edu> Date: 17 Dec 90 21:21:29 GMT Sender: news@morrow.stanford.edu (News Service) Organization: Stanford Univ. Earth Sciences Lines: 9 Question: How can one use offscreen bit maps that appear and disappear during a program and avoid heap fragmentation? I notice that offScreen.portBits.baseAddr must be a pointer, not a handle. Should I allocate a handle anyway, and lock and dereference it when I need to draw on the bit map or CopyBits() from it? Any wisdom you might have would be appreciated. -Craig.