home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 19931 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.6 KB

  1. Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!scsing.switch.ch!news.univie.ac.at!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!hri.com!noc.near.net!news.cs.brandeis.edu!binah.cc.brandeis.edu!DERNIS
  2. From: dernis@binah.cc.brandeis.edu
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: TVision: prevent closing windows?
  5. Message-ID: <1993Jan26.183323.9319@news.cs.brandeis.edu>
  6. Date: 26 Jan 93 18:33:23 GMT
  7. References: <1993Jan26.132907.26715@scott.skidmore.edu>
  8. Sender: news@news.cs.brandeis.edu (USENET News System)
  9. Reply-To: dernis@binah.cc.brandeis.edu
  10. Organization: Brandeis University
  11. Lines: 25
  12.  
  13. In article <1993Jan26.132907.26715@scott.skidmore.edu>, pvonk@scott.skidmore.edu (Pierre VonKaenel) writes:
  14. >
  15. >I would like to have a window on the screen that never closes (the
  16. >class is never destroyed until the end of the program), but may be
  17. >toggled between hidden and displayed.  I found how to prevent having a
  18. >close icon (upper left corner), but how can I prevent it being closed
  19. >using the "Window | Close" command from the menu bar (I want to allow
  20. >other windows to close).  Is there a simple flag to do this, or do I
  21. >have to write a handleEvent() and intercept cmClose events?
  22. >
  23. >Thanks....  
  24. >
  25. >
  26. >-- 
  27. >Pierre von Kaenel  |  Math & CS Dept | Skidmore College | pvonk@skidmore.edu
  28. >----------------------------------------------------------------------------
  29. >Ads from premier issue of PC Tech Journal (Jul 83): 20MB Hard disk from
  30. >QCS - Cost: $2999.   Davong 5 MB int. hard disk... only $1465!
  31.  
  32. Yes, disable the command cmClose, when the window is selected, and
  33. enable it with others. 
  34.  
  35. If you need more details, I can fill them in later.
  36.  
  37. Mitch Dernis 
  38.