home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / oop / macapp3 / 39 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  863 b 

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com
  2. From: DEWAELE.W@AppleLink.Apple.COM (De Waele Willy - Gent,BE,IHD)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: TWindow::PoseModally Bug
  5. Message-ID: <722574962.8939380@AppleLink.Apple.COM>
  6. Date: 23 Nov 92 00:57:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 17
  10.  
  11. Hi Ken,
  12.  
  13. Just in time ... I have written today an Alert Class, which handles movable
  14. dialogs with "OK" (the Cancel button is freed) or "OK/Cancel" buttons.
  15.  
  16. I added following statement
  17.     "aWindow->SetModality(true);"
  18. after the
  19.     "gViewServer->NewTemplateWindow"
  20. A default TDialogBehavior, if there is none.
  21. If there is a behavior, then the modal-switch is set to true.
  22.  
  23. Also i modified in ViewEdit the "Default Choice" of the buttons to mDismiss.
  24.  
  25. Regards
  26. Willy
  27.  
  28.