Newsgroups: comp.sys.mac.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!n8emr!uncle!basho!john
From: john@basho.uucp (John Lacey)
Subject: Application startup window question
Message-ID: <1991Jun3.182417.2897@basho.uucp>
Organization: Sportsware
Date: Mon, 3 Jun 91 18:24:17 GMT


I am trying to write code to splash a window on the screen when the
application is launched, as ResEdit 2.x does, and as many other
applications do with their About boxes.  (As with ResEdit, my startup
and about boxes are the same.)

I am having all kinds of trouble.  I changed from GetNextEvent to
GetOSEvent, to get around activate events under MultiFinder.  I tried
using the windowPic field of the window record, and I can't get that
to work.  So, I get an update event I don't want, or know how to deal
with for that matter.

Is there some simple method for doing this that I am missing?  I would
appreciate any hints.

-- 
John Lacey,  Schemer, TeXnician, and MacHacker
"It's hard to tell you how I feel without hurting you."	--Soho
