Article View: comp.sys.mac
Article #24387Re: Re: (LSC) Deep Dark Secrets Wanted! (also LSP)
From: Ted Johnson
Date: Fri, 29 Jan 1988 18:18
Date: Fri, 29 Jan 1988 18:18
62 lines
2730 bytes
2730 bytes
LSC Deep Dark Secrets SUMMARY:
Okay folks, here is a summary of the e-mail
responses I have received:
Q1: how to black out the entire screen, including
JClock?
A1: The trick here is that JClock is a VBL task,
and the only way to kill it is to disable
VBL tasks. If your only VBL task is JClock,
then this is probably okay; JClock
won't "lose track" of the time, because it
doesn't keep track of the time. If just calls
a ROM routine once a second to get the correct
time.
Q2: How to write an INIT?
A2: This turned out to be extremely easy. Oliver
Steele's posted response (see above) did the
trick. For more info., refer to Technical Note
#14 and #110. WARNING: an INIT cannot use globals,
cannot directly access other globals (such as
QuickDraw's), and cannot be segmented.
Q3: How to make a DA live forever?
A3: Many people have suggested doing a Get Info
(from inside of ResEdit) on
the resources which make up the DA, and setting
the "System Heap" flag. (NOTE: This is different
from the "System" flag that you see when you do a
"Get Info" the DA's file! The latter is to indicate
whether or not the file is a "system file", i.e,
whether or not it should have an icon like the Finder,
System, etc.)
UNFORTUNATELY, I have not got this to work yet. The DA
I want to *live forever* is the "Windows" DA that is
shipped with LSC (it is used when you have tons of windows
opened up on your desktop, and want to bring one to the
top. The Windows DA has a menu with each window's title
listed as a menu item. Select the title, and voila!
That window is now the top window.)
What am I doing wrong? Should I alter the code of this DA so
that it doesn't ask for a "goodbye kiss" (right now it does....)?
Please e-mail responses, and I will summarize for the net.
-Ted
------------------------------
Ted Johnson
Hewlett-Packard
Design Technology Center
(408)553-3555
UUCP: ...hplabs!hpdtc!tedj
Technical Details
Message-ID:
<870127@hpcilzb.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ucsd!ucbvax!hplabs!hpcea!hpcilzb!tedjReferences:
<870111@hpcilzb.HP.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ucsd!ucbvax!hplabs!hpcea!hpcilzb!tedj From: tedj@hpcilzb.HP.COM (Ted Johnson) Newsgroups: comp.sys.mac Subject: Re: Re: (LSC) Deep Dark Secrets Wanted! (also LSP) Message-ID: <870127@hpcilzb.HP.COM> Date: 29 Jan 88 18:18:17 GMT References: <870111@hpcilzb.HP.COM> Organization: HP Design Tech Center - Santa Clara, CA Lines: 62