home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!usc!rpi!scott.skidmore.edu!pvonk
- From: pvonk@scott.skidmore.edu (Pierre VonKaenel)
- Subject: TVision: prevent closing windows?
- Message-ID: <1993Jan26.132907.26715@scott.skidmore.edu>
- Organization: Skidmore College, Saratoga Springs NY, 12866
- Date: Tue, 26 Jan 1993 13:29:07 GMT
- Lines: 17
-
-
- I would like to have a window on the screen that never closes (the
- class is never destroyed until the end of the program), but may be
- toggled between hidden and displayed. I found how to prevent having a
- close icon (upper left corner), but how can I prevent it being closed
- using the "Window | Close" command from the menu bar (I want to allow
- other windows to close). Is there a simple flag to do this, or do I
- have to write a handleEvent() and intercept cmClose events?
-
- Thanks....
-
-
- --
- Pierre von Kaenel | Math & CS Dept | Skidmore College | pvonk@skidmore.edu
- ----------------------------------------------------------------------------
- Ads from premier issue of PC Tech Journal (Jul 83): 20MB Hard disk from
- QCS - Cost: $2999. Davong 5 MB int. hard disk... only $1465!
-