🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #14707

Desktop drawing

#14707
From: jv0l#
Date: Fri, 20 Feb 1987 09:10
29 lines
2005 bytes
CC:

I am writing a BBS-type of program which relies heavily upon moving
files and messages from one place to another, deleting them, etc.
I would like to draw the Icons of the disks and b-boards and of
course the trash and maybe a printer on the desktop.

However, IM doesn't help!  The best I can do is getWMgrPort to get
the entire screen, then clipAbove to remove the windows on the desk-
top.  I can then draw what I want onto the desktop.  Also, I have used
the deskHook for desktop clicks and redrawing under exposure, but what
I would like to know is this:  is there a better way?

I realize that this is probably counter to every guideline ever put
out by Apple, but if the Finder does it, I should be able to do it too.
I have tried to use MacNosy on the Finder, but have you ever tried to
understand a 56K AL file with labels like proc54, and global102(a5)?

The only alternative that I could think of is to make a window with a
gray background pattern and make it the ghost window (so frontWindow
won't act strange).

Thanks in advance

Justin

jv0l@andrew.cmu.edu
US Mail: I'll probably be done with my 4 years here by the time any
         Snail Mail gets here...
Technical Details
Message-ID: <gUD1pjy00UsIk=004v@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!seismo!rochester!pt.cs.cmu.edu!andrew.cmu.edu!jv0l#

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!seismo!rochester!pt.cs.cmu.edu!andrew.cmu.edu!jv0l#
From: jv0l#@andrew.cmu.edu.UUCP
Newsgroups: comp.sys.mac
Subject: Desktop drawing
Message-ID: <gUD1pjy00UsIk=004v@andrew.cmu.edu>
Date: Fri, 20-Feb-87 04:10:07 EST
Article-I.D.: andrew.gUD1pjy00UsIk=004v
Posted: Fri Feb 20 04:10:07 1987
Date-Received: Sat, 21-Feb-87 04:31:04 EST
Organization: Carnegie-Mellon University
Lines: 27
ReSent-Date: Fri, 20 Feb 87 04:13:51 est
ReSent-From: postman#@andrew.cmu.edu
ReSent-To: nntp-xmit#@andrew.cmu.edu
Return-path: <jv0l#@andrew.cmu.edu>
X-Trace: MS Version 3.21 on ibm032 host ws20.hh20.andrew.cmu.edu, by jv0l (1752).
To: outnews#ext.nn.comp.sys.mac@andrew.cmu.edu