🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.atari
Article #2578

AES windows help sought

#2578
From: Steve Tynor
Date: Mon, 03 Mar 1986 15:59
65 lines
3236 bytes
Attention Atari and/or DRI:

GEM AES Help Needed!

I'm trying to write code to support a two paned window by creating 
two  windows with one fixed in the left side of the  workspace  of 
the larger one like this:

     +-+---------------------------------+-+
     +-+------------+-+------------------+-+
     |              | |                  | |
     |              | |                  | |
     |              | |                  | |
     |              | |                  | |
     |              | |                  | |
     |              | |                  | |
     + +------------+ +                  | |
     +-+------------+-+------------------+-+
     +-+---------------------------------+-+

The large window is a complete window,  with SIZER, MOVER, SCROLL-
BARs, CLOSER, etc.  the SUB-window has only SIZER and SCROLL-BARs.
the  SUB-window  is fixed in position with respect  to  the  large 
window (ie.  when the large window is moved,  the sub window moves 
with it...)

The problem centers on the fact that only one window can be active 
at a time.  Thus, in order to detect SIZE-EVENT from both windows, 
I  add the MOUSE-EVENT to the EVENT-FLAGs.   Thus when I enter the 
rectangle defined by the SUB-WINDOW,  I TOP the SUB-window, when I 
exit that rectangle, I TOP the large window.

Here are the problems:

  1) when the mouse enters or exits the event rectangle, the large 
     window's borders are redrawn, but the SUB-window's borders   
     never are... Why?  This has the effect of making both windows 
     look 'active' when only the large one is, but when the SUB-
     window is the active one, only it looks active...

  1.5) It's pretty annoying to see the large window pop in and out
     of its 'active' state just because the mouse happens to move
     through the SUB-window.  Is there a way to fool the AES into
     making 2 windows active concurrently?

  2) When trying to RESIZE the SUB-window to larger than current size, 
     the EVENTMULTI catches the MOUSE1EVENT (and my window handler
     puts the large window on TOP) before it catches the 
     RESIZE EVENT.  The RESIZE EVENT is ignored! I don't think it is
     ever getting recieved by my application.
       
How do you suggest I do what I need to do?  Expert advice from ATARI
or DRI would be  much appreciated...


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Progress means replacing something wrong with something more subtly wrong.
                     
    Steve Tynor
    Georgia Instutute of Technology

 ...{akgua, allegra, amd, harpo, hplabs,
     ihnp4, masscomp, ut-ngp, rlgvax, sb1,
     uf-cgrl, unmvax, ut-sally}  !gatech!gitpyr!tynor
Technical Details
Message-ID: <1488@gitpyr.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!gatech!gitpyr!tynor

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!gatech!gitpyr!tynor
From: tynor@gitpyr.UUCP (Steve Tynor)
Newsgroups: net.micro.atari
Subject: AES windows help sought
Message-ID: <1488@gitpyr.UUCP>
Date: Mon, 3-Mar-86 10:59:25 EST
Article-I.D.: gitpyr.1488
Posted: Mon Mar  3 10:59:25 1986
Date-Received: Tue, 4-Mar-86 05:23:15 EST
Reply-To: tynor@gitpyr.UUCP (Steve Tynor)
Organization: Georgia Institute of Technology
Lines: 65