🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1801

Making a window... not a window.

#1801
From: Mike Matthews
Date: Wed, 18 Nov 1992 03:02
30 lines
1432 bytes
OK.

I've almost got it.

But.

How in blazes are you supposed to make a window that can not be moved?  I
know you have to use the initContext:... stuff (i.e. not use IB's palettes).
I tried passing a style of NX_PLAINSTYLE to the window but the doggone title
bar was logically there.

Then I tried to subclass Window and just make all of the moveTo:: methods and
dragFrom: methods do nothing.

Then I tried to redefine the screen to be 10 pixels longer on each border and
make the window so big the title bar won't be on the screen (by using
initContext with screen, and getting the mainScreen and modifying its borders
a bit).  But that seems to make a background picture.

What am I doing wrong?  I know this breaks every NeXT interface rule that
applies, but damn the rules, I wanna go full speed ahead.

Or something like that.

Any help'd be GREATLY appreciated.
------
Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
------
We're fighting for this woman's honor, which is more than she ever did.
- Rufus T. Firefly, in "Duck Soup"
Technical Details
Message-ID: <17039@umd5.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!haven.umd.edu!umd5!oberon.umd.edu!matthews

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!haven.umd.edu!umd5!oberon.umd.edu!matthews
From: matthews@oberon.umd.edu (Mike Matthews)
Newsgroups: comp.sys.next.programmer
Subject: Making a window... not a window.
Message-ID: <17039@umd5.umd.edu>
Date: 18 Nov 92 03:02:08 GMT
Sender: news@umd5.umd.edu
Lines: 31
Originator: matthews@oberon.umd.edu