[comp.sys.mac] Icon bar Problem in MPW

creech@unc.UUCP (02/18/87)

Help!

I am writing an application in MPW Pascal that uses an icon bar.
I have 10 icons stored in my resource file, and at startup I read
in each icon, and do a copybits to put them into a Quickdraw picture.

It seems to work well most of the time, but every-so-often (more often
than not lately) it trashes some of the bits in my icons. And the behavior,
when it goes astray like this, isn't random. Usually bits from the bottom 4
lines of the icon get a little "mussed."

I think I am doing all the necessary setting of ports and garbage on the
Quickdraw side, and the resources are fine in the file - those calls are
straight forward.

So what is the deal? Any ideas would be *greatly* appreciated.


"I pray to the toolbox gods for forgiveness of my MacSins"

       Jeff Creech
       StorySpace Project, UNC-CH

creech@unc     ...decvax!mcnc!unc!creech
Bitnet:  UNCGWH@TUCC