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