home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 18871 < prev    next >
Encoding:
Text File  |  1993-01-09  |  1.7 KB  |  38 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!newsserver.jvnc.net!news.edu.tw!cc.ntnu.edu.tw!news!debbie!sparc4.ncu.edu.tw!ee05!oper7
  3. From: oper7@ee05.ncu.edu.tw (Anthony Shih Hao Lee)
  4. Subject: TVISION:cmQuit and clearEvent :(
  5. Message-ID: <1993Jan9.100350.22034@sparc4.ncu.edu.tw>
  6. Sender: news@sparc4.ncu.edu.tw
  7. Organization: Dep. of EECS, National Central University, Chungli, Taiwan, R.O.C.
  8. Date: Sat, 9 Jan 1993 10:03:50 GMT
  9. Lines: 27
  10.  
  11. Hi, the programmers of TVISION:
  12. I recently use TVISION, but find it has a very strange behavior
  13. while I quit my TV app, TApplication seems not to destroy all
  14. other objects which has created for my application.
  15. I must actively to broadcast cmQuit message to those windows
  16. which has exposed on the desktop, so that they could finish their job.
  17. 1.
  18. in fact, TApplication should broadcast some useful message such as
  19. cmClose, cmQuit to announce windows on the desktop.
  20. and, cmQuit message for a TApplication seems not similar to other
  21. evCommand.
  22. 2.
  23. Due to cmQuit is the most important message which all
  24. handleEvent should take response, user's TApplication::handleEvent
  25. could not use clearEvent, and must pass this message to it's parent
  26. handleEvent. am I wrong?
  27.  
  28. and because other type of classes do not handle this message, so if
  29. I post cmQuit to a TWindow, It must do clearEvent, so that I know
  30. that TWindow is properly dispose all things it occupied.
  31.  
  32. if you can enlight me, please directly e-mail to me, thanks anyway.
  33. tony
  34. -- 
  35. >>> Anthony Li <Li3, Shih4 Hao2><Li:fruit's Name><Shih:Scholar><Hao:Hero>   <<<
  36. <<< Institute of CSEE, National Central Univ, Chungli, Taoyuan, Taiwan, ROC >>>
  37. >>> Internet:    oper7@mbox.ee.ncu.edu.tw     oper2@ncuee.ncu.edu.tw        >>>
  38.