home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 19916 < prev    next >
Encoding:
Text File  |  1993-01-26  |  1.1 KB  |  27 lines

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