home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-
-