home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7272 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!marcel
  3. From: marcel@opal.cs.tu-berlin.de (Marcel Weiher)
  4. Subject: Re: Making a window... not a window.
  5. Message-ID: <1992Nov18.115118.25918@cs.tu-berlin.de>
  6. Sender: news@cs.tu-berlin.de
  7. Organization: Techn. University of Berlin, Germany
  8. References: <17039@umd5.umd.edu>
  9. Date: Wed, 18 Nov 1992 11:51:18 GMT
  10. Lines: 21
  11.  
  12. matthews@oberon.umd.edu (Mike Matthews) writes:
  13.  
  14. >How in blazes are you supposed to make a window that can not be moved?  I
  15. >know you have to use the initContext:... stuff (i.e. not use IB's palettes).
  16. >I tried passing a style of NX_PLAINSTYLE to the window but the doggone title
  17. >bar was logically there.
  18. >
  19. >Then I tried to subclass Window and just make all of the moveTo:: methods and
  20. >dragFrom: methods do nothing.
  21.  
  22. Well you could use the delegate's -windowDidMove:  methods and let that simply
  23. move it back, but I guess that wouldn't be too visually pleasing.
  24.  
  25. If you don't mind getting low down, use PostScript operators directly:
  26.  
  27.   windo, orderwindow etc.  
  28.  
  29. It might be a little difficult to get a View hierarchy onto that, so
  30. you'll probably have to do drawing via straight PostScript as well.
  31.  
  32. Marcel
  33.