Article View: comp.sys.mac
Article #23945Re: Need help with drawing icons
From: -- Byron B. Han --
Date: Thu, 21 Jan 1988 16:28
Date: Thu, 21 Jan 1988 16:28
28 lines
1850 bytes
1850 bytes
In article <6500008@hpindda.HP.COM> atchison@hpindda.HP.COM (Lee Atchison) writes:
>
>What I am trying to do is draw icons, invert them (using the icon mask,
>like the finder does), and erase them. I want to be able to do this both
>in a window and on the desktop (like the disk icons, and the trashcan
>in the finder).
>
>Now, for drawing on the desktop, I used the following:
This is not recommended. According to the "MultiFinder Development Package
Release Note" (p. 4) "The window manager port is generally off limits. It
belongs strictly to the Window Manager. Yes this means that applications
cannot draw on the desktop. Consider the call GetWMGRPort() to be for
amusement only and certainly read-only purposes. The fabled DESKHOOK,
a low-memory vector which allowed applications to draw on the desktop, has
been eliminated. Applications that use DESKHOOK will not function as expected."
DESKHOOK was a low memory vector that would (described in IM-I p. 282, 288)
be called when a click in the desktop was registered and/or when the
the desktop is to be redrawn.
--
------------------------ Byron Han, Communications Tool ----------------------
Apple Computer, Inc. 20525 Mariani Ave, MS 27Y Cupertino, CA 95014
ATTnet:408-973-6450 applelink:HAN1 domain:han@apple.COM MacNET:HAN
GENIE:BYRONHAN COMPUSERVE:72167,1664 UUCP:{sun,voder,nsc,decwrl}!apple!han
Technical Details
Message-ID:
<7237@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!ctnews!pyramid!voder!apple!hanReferences:
<6500008@hpindda.HP.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!ctnews!pyramid!voder!apple!han From: han@apple.UUCP (-- Byron B. Han --) Newsgroups: comp.sys.mac Subject: Re: Need help with drawing icons Message-ID: <7237@apple.UUCP> Date: 21 Jan 88 16:28:39 GMT References: <6500008@hpindda.HP.COM> Reply-To: han@apple.UUCP (-- Byron B. Han --) Organization: Communication Tools Group - Apple Computer, Inc. Lines: 28