🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #120

Re: TWindow::PoseModally Bug

#120
From: De Waele Willy - Gent,BE,IHD
Date: Mon, 23 Nov 1992 00:57
17 lines
890 bytes
Hi Ken,
 
Just in time ... I have written today an Alert Class, which handles movable
dialogs with "OK" (the Cancel button is freed) or "OK/Cancel" buttons.
 
I added following statement
    "aWindow->SetModality(true);"
after the
    "gViewServer->NewTemplateWindow"
A default TDialogBehavior, if there is none.
If there is a behavior, then the modal-switch is set to true.
 
Also i modified in ViewEdit the "Default Choice" of the buttons to mDismiss.
 
Regards
Willy
 
Technical Details
Message-ID: <722574962.8939380@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com
From: DEWAELE.W@AppleLink.Apple.COM (De Waele Willy - Gent,BE,IHD)
Newsgroups: comp.sys.mac.oop.macapp3
Subject: Re: TWindow::PoseModally Bug
Message-ID: <722574962.8939380@AppleLink.Apple.COM>
Date: 23 Nov 92 00:57:00 GMT
Sender: daemon@Apple.COM
Organization: AppleLink Gateway
Lines: 17