home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- 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
- From: oper7@ee05.ncu.edu.tw (Anthony Shih Hao Lee)
- Subject: TVISION:cmQuit and clearEvent :(
- Message-ID: <1993Jan9.100350.22034@sparc4.ncu.edu.tw>
- Sender: news@sparc4.ncu.edu.tw
- Organization: Dep. of EECS, National Central University, Chungli, Taiwan, R.O.C.
- Date: Sat, 9 Jan 1993 10:03:50 GMT
- Lines: 27
-
- Hi, the programmers of TVISION:
- I recently use TVISION, but find it has a very strange behavior
- while I quit my TV app, TApplication seems not to destroy all
- other objects which has created for my application.
- I must actively to broadcast cmQuit message to those windows
- which has exposed on the desktop, so that they could finish their job.
- 1.
- in fact, TApplication should broadcast some useful message such as
- cmClose, cmQuit to announce windows on the desktop.
- and, cmQuit message for a TApplication seems not similar to other
- evCommand.
- 2.
- Due to cmQuit is the most important message which all
- handleEvent should take response, user's TApplication::handleEvent
- could not use clearEvent, and must pass this message to it's parent
- handleEvent. am I wrong?
-
- and because other type of classes do not handle this message, so if
- I post cmQuit to a TWindow, It must do clearEvent, so that I know
- that TWindow is properly dispose all things it occupied.
-
- if you can enlight me, please directly e-mail to me, thanks anyway.
- tony
- --
- >>> Anthony Li <Li3, Shih4 Hao2><Li:fruit's Name><Shih:Scholar><Hao:Hero> <<<
- <<< Institute of CSEE, National Central Univ, Chungli, Taoyuan, Taiwan, ROC >>>
- >>> Internet: oper7@mbox.ee.ncu.edu.tw oper2@ncuee.ncu.edu.tw >>>
-