🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20686

Re: LSC Modeless Dialog Nightmare (SCREAM!!!!)

#20686
From: David W. Berry
Date: Fri, 23 Oct 1987 20:12
13 lines
1319 bytes
In article <157@artsvax.UUCP> mike@artsvax.UUCP (Michael Czeiszperger) writes:
>I'm having a terrible problem trying to implement modless dialog boxes
>in LSC on a MacII.  I send a pointer to WindowRecord to the GetNewDialog
>command to avoid fragmenting the heap, but it bombs in many instances.
	Pass in a pointer to a DialogRecord instead of the WindowRecord.
	A dialog has extra things beyond what a window does, you are thus
	trashing whatever comes after your WindowRecord.
-- 
	David W. Berry
	dwb@well.uucp                   dwb@Delphi
	dwb@apple.com                   973-5168@408.MaBell
Disclaimer: Apple doesn't even know I have an opinion and certainly
	wouldn't want if they did.
Technical Details
Message-ID: <6544@apple.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!ucbvax!hplabs!pyramid!voder!apple!dwb
References: <157@artsvax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!ucbvax!hplabs!pyramid!voder!apple!dwb
From: dwb@apple.UUCP (David W. Berry)
Newsgroups: comp.sys.mac
Subject: Re: LSC Modeless Dialog Nightmare  (SCREAM!!!!)
Message-ID: <6544@apple.UUCP>
Date: Fri, 23-Oct-87 15:12:32 EST
Article-I.D.: apple.6544
Posted: Fri Oct 23 15:12:32 1987
Date-Received: Sun, 25-Oct-87 17:59:40 EST
References: <157@artsvax.UUCP>
Reply-To: dwb@apple.UUCP (David W. Berry)
Organization: Apple Computer Inc., Cupertino, USA
Lines: 13
Keywords: lost sleep modeless mac LSC