home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7270 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.4 KB

  1. Path: sparky!uunet!ukma!darwin.sura.net!haven.umd.edu!umd5!oberon.umd.edu!matthews
  2. From: matthews@oberon.umd.edu (Mike Matthews)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Making a window... not a window.
  5. Message-ID: <17039@umd5.umd.edu>
  6. Date: 18 Nov 92 03:02:08 GMT
  7. Sender: news@umd5.umd.edu
  8. Lines: 31
  9. Originator: matthews@oberon.umd.edu
  10.  
  11. OK.
  12.  
  13. I've almost got it.
  14.  
  15. But.
  16.  
  17. How in blazes are you supposed to make a window that can not be moved?  I
  18. know you have to use the initContext:... stuff (i.e. not use IB's palettes).
  19. I tried passing a style of NX_PLAINSTYLE to the window but the doggone title
  20. bar was logically there.
  21.  
  22. Then I tried to subclass Window and just make all of the moveTo:: methods and
  23. dragFrom: methods do nothing.
  24.  
  25. Then I tried to redefine the screen to be 10 pixels longer on each border and
  26. make the window so big the title bar won't be on the screen (by using
  27. initContext with screen, and getting the mainScreen and modifying its borders
  28. a bit).  But that seems to make a background picture.
  29.  
  30. What am I doing wrong?  I know this breaks every NeXT interface rule that
  31. applies, but damn the rules, I wanna go full speed ahead.
  32.  
  33. Or something like that.
  34.  
  35. Any help'd be GREATLY appreciated.
  36. ------
  37. Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
  38. ------
  39. We're fighting for this woman's honor, which is more than she ever did.
  40. - Rufus T. Firefly, in "Duck Soup"
  41.  
  42.