home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20909 < prev    next >
Encoding:
Text File  |  1993-01-07  |  657 b   |  20 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!utcsri!newsflash.concordia.ca!sifon!CC.UMontreal.CA!casgrain
  3. From: casgrain@ERE.UMontreal.CA (Casgrain Philippe)
  4. Subject: OK buttons in Dialogs (goof!)
  5. Message-ID: <1993Jan7.183637.351@cc.umontreal.ca>
  6. Sender: news@cc.umontreal.ca (Administration de Cnews)
  7. Organization: Universite de Montreal
  8. Date: Thu, 7 Jan 1993 18:36:37 GMT
  9. Lines: 9
  10.  
  11. In a precedent post I wrote:
  12.     ModalDialog(dlg, @MyFilterProc);
  13.  
  14. What a goof! The correct syntax, as everyone indubitably noticed, is:
  15.  
  16.     ModalDialog(@MyFilterProc,itemHit);
  17. ModalDialog supposes you have brought a Dialog to the front yourself...
  18.  
  19. Philippe Casgrain
  20.