home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mips!swrinde!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!winson
- From: winson@mksol.dseg.ti.com (peter b winson)
- Newsgroups: comp.sys.sun.apps
- Subject: How to register an event inside a callback procedure?
- Message-ID: <1992Aug21.152158.29227@mksol.dseg.ti.com>
- Date: 21 Aug 92 15:21:58 GMT
- Organization: Texas Instruments, Inc
- Lines: 12
-
- I have a time consuming procedure that takes total control of
- my windows application that I am developing. I want to be able
- to press a button and break out of the loop that this procedure
- runs. How do I register an event like a button press inside
- this loop?
-
- Right now I press a button to do computations. It runs a callback
- routine and holds up all the windows until the procedure that does
- the computations finishes. I want to have control over my window
- application so that while this procedure is running I can press a
- stop button. Right Now it does not even register the stop buttons
- event until the procedure is complete and the callback returns.
-