[comp.sys.mac.programmer] List Manager scroll thumb dies in INIT. HELP!!

johnr@runx.ips.oz (John Rotenstein) (12/02/88)

I've got a list manager scrollable list being displayed in an INIT and it
works PERFECTLY well except for handling the scroll thumb. Whenever the mouse
is pressed in the thumb, it bombs!  Perhaps something to do with creating the
scroll thumb region?

The code handling the event is fine--it works correctly with the identical  code
in a cdev.


Oh, and for those people who were previously having trouble with their INITs,
you must remember to set DeskHook to Zero before doing window stuff otherwise,
when windows are closed, the machine jumps to a wierd location and sensibly
bombs.  (You can steal the appropriate commands from any working INIT, like
Big Screen or AppleShare.)

John Rotenstein		  Internet: johnr@runx.ips.oz.au
PO Box 165
Double Bay, NSW 2028.	UUCP: uunet!runx.ips.oz.au!johnr
AUSTRALIA.
---------

"Happiware to the World."

bob@accuvax.nwu.edu (Bob Hablutzel) (12/04/88)

> I've got a list manager scrollable list being displayed in an INIT and it
> works PERFECTLY well except for handling the scroll thumb. Whenever the mouse
> is pressed in the thumb, it bombs!  Perhaps something to do with creating the
> scroll thumb region?

I dunno. I've done lists in INITs, with no problem. Are you building your
A5 world right before calling the INIT routines? Can you post code (to
Comp.Sys.Mac.Programmer? )

> Oh, and for those people who were previously having trouble with their INITs,
> you must remember to set DeskHook to Zero before doing window stuff otherwise,
> when windows are closed, the machine jumps to a wierd location and sensibly
> bombs.  (You can steal the appropriate commands from any working INIT, like
> Big Screen or AppleShare.)

Ah, yes. One of my favorite bombs. This does, by the way, happen on a 
Mac II. Sure made me look stupid one when demoing code on an SE...

> John Rotenstein		  Internet: johnr@runx.ips.oz.au

Bob Hablutzel	BOB@NUACC.ACNS.NWU.EDU