🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #14676

Icon bar Problem in MPW

#14676
From: creech
Date: Tue, 17 Feb 1987 21:12
25 lines
1335 bytes
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
Technical Details
Message-ID: <949@unc.unc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!gatech!mcnc!unc!creech

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!gatech!mcnc!unc!creech
From: creech@unc.UUCP
Newsgroups: comp.sys.mac
Subject: Icon bar Problem in MPW
Message-ID: <949@unc.unc.UUCP>
Date: Tue, 17-Feb-87 16:12:13 EST
Article-I.D.: unc.949
Posted: Tue Feb 17 16:12:13 1987
Date-Received: Thu, 19-Feb-87 19:07:21 EST
Organization: CS Dept, U. of N. Carolina, Chapel Hill
Lines: 25