home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / toolkits / xview / 1233 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.4 KB

  1. Path: sparky!uunet!dtix!mimsy!afterlife!dpkemp
  2. From: dpkemp@afterlife.ncsc.mil (David P. Kemp)
  3. Newsgroups: alt.toolkits.xview
  4. Subject: Re: What can you do within an event handler?
  5. Message-ID: <1993Jan22.225901.20102@afterlife.ncsc.mil>
  6. Date: 22 Jan 93 22:59:01 GMT
  7. References: <1993Jan15.152558.7346@nlm.nih.gov>
  8. Organization: The Great Beyond
  9. Lines: 29
  10.  
  11. In article <1993Jan15.152558.7346@nlm.nih.gov> neve@nlm.nih.gov writes:
  12. >I'm trying to do some xv_set() calls from within an event
  13. >handler and then, without exiting from that event handler, proceed
  14. >to do some heavy processing stuff. I want the xv_set calls
  15. >to take effect completely before the processing begins.
  16. >
  17. > [...]
  18. >
  19. >What does it take to get a popup displayed, with ALL
  20. >its items, while in an event handler?
  21. >
  22.  
  23. That's the wrong question.
  24.  
  25. You want your event handler to start up the heavy processing, then
  26. return.  The heavy processing thing then can post events while it
  27. runs to keep you informed of its status, and a final event when it's
  28. done.
  29.  
  30. Any time you refuse to return from a notifier event handler, you
  31. hang the notifier.  If your job takes more than a second or two,
  32. that's a very unfriendly thing to do (as you can see by your blank
  33. panels).
  34.  
  35. -- 
  36.    Dave Kemp   dpkemp@afterlife.ncsc.mil 
  37. -----------------------------------------------------------------------------
  38. "Washington [D.C.] is a city of Southern efficiency and Northern charm"
  39.      -- John F. Kennedy
  40.