home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / acorn / tech / 1415 < prev    next >
Encoding:
Text File  |  1993-01-26  |  1.8 KB  |  35 lines

  1. Newsgroups: comp.sys.acorn.tech
  2. Path: sparky!uunet!mcsun!dxcern!dscomsa!vxdesy.desy.de!burke
  3. From: burke@vxdesy.desy.de (Stephen Burke)
  4. Subject: Re: Monty Pythons most used sentence
  5. Message-ID: <1993Jan26.130829.1@vxdesy.desy.de>
  6. Lines: 23
  7. Sender: usenet@dscomsa.desy.de (usenet)
  8. Organization: (DESY, Hamburg, Germany)
  9. References: <1k11shINNgps@info2.rus.uni-stuttgart.de>
  10. Date: Tue, 26 Jan 1993 13:08:29 GMT
  11.  
  12. In article <1k11shINNgps@info2.rus.uni-stuttgart.de>, zrzs0111@helpdesk.rus.uni-stuttgart.de (Helmut Springer) writes:
  13. > Has someone find a method to replace OS_ReportError with a WIMP-tasking
  14. > errorviewer ? 
  15. > With the old (RISCOS 2.0) version of a errorviewer the machine freeze ....
  16.  
  17. This one, at least, is fairly easy. Just design your own window (or pinch the
  18. standard one), open it, and then enter a minimal polling loop. The only
  19. messages you *have* to respond to are mouse-click (on the OK/cancel buttons)
  20. and message-quit. It's probably a good idea to pop up a greyed-out menu if the
  21. user requests it, otherwise it'll look as though your application is broken,
  22. and you probably want to respond to open-window, otherwise the window won't
  23. move. You also need key-press if you want to allow escape to terminate.
  24.  
  25.   It actually took me a while to realise that you can have more than one
  26. polling loop in a program - obvious in retrospect, of course. I don't think
  27. I've ever seen it suggested in a magazine article, though.
  28.  
  29. e----><----p | Stephen Burke           | Internet: burke@vxdesy.desy.de
  30.  H   H   1   | Gruppe FH1T (Liverpool) | DECnet:   vxdesy::burke (13313::burke)
  31.  H   H  11   | DESY, Notkestrasse 85   | BITNET:   BURKE@DESYVAX or SB2@UKACRL
  32.  HHHHH   1   | 2000 Hamburg 52         | JANET:    sb2@uk.ac.rl.ib
  33.  H   H   1   | Germany                 | Phone:    + 49 40 8998 2282
  34.  H   H 11111 | HERA, the world's largest electron microscope!
  35.