🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13699

Re: windowing question

#13699
From: Doug Walker
Date: Wed, 14 Feb 1990 19:01
23 lines
1565 bytes
In article <0ZpMuCC00VQDE6YEQg@andrew.cmu.edu> rg20+@andrew.cmu.edu (Rick Francis Golembiewski) writes:
>
>Is there any way to open windows that will not become active if they are
>clicked on?    The reason that I'de like to know is that I want to have
>1 window that gets all of the keyboard input, and other windows for
>display which could cover the input window.   Any suggestions would be
>appreciated.

I suggest you use a single IDCMP port for all your windows.  This way, if you 
get an ACTIVEWINDOW message, you can call Activate() on your input window
right away.  Or you could even read the input keystrokes from all windows,
thereby doing away with the necessity for an input window.

I did this in PickPacket, if you can find a copy take a look at the window
code.  Closing windows gets a little tricky.


  *****
=*|_o_o|\\=====Doug Walker, Software Distiller=======================
 *|. o.| ||
  | o  |//     "I try to make everyone's day a little more surreal."
  ======               - Calvin
usenet: ...mcnc!rti!sas!walker   plink: dwalker  bix: djwalker 
Technical Details
Message-ID: <1558@sas.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!mephisto!mcnc!rti!sas!walker
References: <0ZpMuCC00VQDE6YEQg@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!mephisto!mcnc!rti!sas!walker
From: walker@sas.UUCP (Doug Walker)
Newsgroups: comp.sys.amiga.tech
Subject: Re: windowing question
Message-ID: <1558@sas.UUCP>
Date: 14 Feb 90 19:01:50 GMT
References: <0ZpMuCC00VQDE6YEQg@andrew.cmu.edu>
Reply-To: walker@sas.UUCP (Doug Walker)
Organization: SAS Institute Inc, Cary NC
Lines: 23