Article View: comp.sys.next.programmer
Article #1803Re: Making a window... not a window.
From: Marcel Weiher
Date: Wed, 18 Nov 1992 11:51
Date: Wed, 18 Nov 1992 11:51
21 lines
1348 bytes
1348 bytes
matthews@oberon.umd.edu (Mike Matthews) writes: >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. Well you could use the delegate's -windowDidMove: methods and let that simply move it back, but I guess that wouldn't be too visually pleasing. If you don't mind getting low down, use PostScript operators directly: windo, orderwindow etc. It might be a little difficult to get a View hierarchy onto that, so you'll probably have to do drawing via straight PostScript as well. Marcel
Technical Details
Message-ID:
<1992Nov18.115118.25918@cs.tu-berlin.de>Path:
arc1-ca.pugleaf.net!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!marcelReferences:
<17039@umd5.umd.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!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 From: marcel@opal.cs.tu-berlin.de (Marcel Weiher) Subject: Re: Making a window... not a window. Message-ID: <1992Nov18.115118.25918@cs.tu-berlin.de> Sender: news@cs.tu-berlin.de Organization: Techn. University of Berlin, Germany References: <17039@umd5.umd.edu> Date: Wed, 18 Nov 1992 11:51:18 GMT Lines: 21