🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #767

Re: event handler around a button IV3.1

#767
From: Mark Linton
Date: Fri, 16 Oct 1992 17:17
28 lines
1794 bytes
In article <ld6a9iINNae8@news.bbn.com>, jpalmucc@bbn.com (Jeff Palmucci) writes:
|> bennett@mozart.redwood.com (Michael Bennett) writes:
|> >  The Button, as an ActiveHandler,
|> >grabs events while the cursor is within the Button.  It grabbed my
|> >keystroke events and ignored them.  Shouldn't the Button somehow send
|> >along keystrokes since it doesn't care about them?  
|> 
|> I ran into the same problem with a Drag around an ActiveHandler. As
|> soon as the mouse enters the ActiveHandler extension, the
|> ActiveHandler grabs all the events, including the middle button press
|> that was meant to start the drag.
|> 
|> >And, possibly
|> >related, why does Handle::event() now return a boolean?  What does it
|> >mean?  Is this what the button event grabber should use to indicate
|> >that it didn't handle the keystroke event so it can be dispatched to
|> >someone who wants it?
|> 
|> It looks like the boolean is ignored. I'd like to know what future
|> versions will do with it.
|> 
|> >Anyone know what I should be doing to accomplish this?
|> 
|> Yeah, anyone?

I fixed a problem in beta3 that should fix the case where buttons
eat keyboard events.  If the problem is still occuring, please send
me an example program.
Technical Details
Message-ID: <1bmtftINN61i@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ames!olivea!sgigate!odin!fido!marktwain.rad.sgi.com!linton
References: <1992Oct2.011228.19895@redwood.com> <ld6a9iINNae8@news.bbn.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ames!olivea!sgigate!odin!fido!marktwain.rad.sgi.com!linton
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: event handler around a button  IV3.1
Message-ID: <1bmtftINN61i@fido.asd.sgi.com>
Date: 16 Oct 92 17:17:49 GMT
References: <1992Oct2.011228.19895@redwood.com> <ld6a9iINNae8@news.bbn.com>
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Lines: 28
NNTP-Posting-Host: marktwain.rad.sgi.com