home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gumby!wupost!howland.reston.ans.net!usc!davidp
- From: davidp@stealth.usc.edu (David Peterson)
- Newsgroups: comp.sys.mac.programmer
- Subject: SetDItem and control panels...
- Date: 25 Jan 1993 13:37:24 -0800
- Organization: University of Southern California, Los Angeles, CA
- Lines: 23
- Distribution: world
- Message-ID: <1k1mikINN3af@stealth.usc.edu>
- Reply-To: davidp@usc.edu
- NNTP-Posting-Host: stealth.usc.edu
-
-
- Is it a no-no to use SetDItem on the user items you have in a control
- panel to set them to a routine that draws them?
-
- I was trying to do this so that my user items would get updated automagically,
- but the Finder would crash about half the time when my control panel was
- being updated.
-
- Using the same code, but calling it myself in response to an update event,
- seems to work. Whats the deal? I didn't see anything about this in any of
- the technotes (or did I just miss it).
-
- Does cdev code not stay locked while the control panel is open? The Finder
- only seemed to crash when I had done something else like open another app
- or switch to a screen saver, just moving Finder windows on and off the control
- panel worked okay.
-
- I can draw the stuff myself if need be, I was just wondering if this behavior
- is known, or if my code is screwed up.
-
- Any hints?
-
- -dave.
-