🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #600

Re: event handler around a button IV3.1

#600
From: Jeff Palmucci
Date: Wed, 07 Oct 1992 18:15
25 lines
1333 bytes
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?

Jeff
Technical Details
Message-ID: <ld6a9iINNae8@news.bbn.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spool.mu.edu!hri.com!noc.near.net!news.bbn.com!jpalmucc
References: <1992Oct2.011228.19895@redwood.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spool.mu.edu!hri.com!noc.near.net!news.bbn.com!jpalmucc
From: jpalmucc@bbn.com (Jeff Palmucci)
Newsgroups: comp.windows.interviews
Subject: Re: event handler around a button  IV3.1
Message-ID: <ld6a9iINNae8@news.bbn.com>
Date: 7 Oct 92 18:15:14 GMT
References: <1992Oct2.011228.19895@redwood.com>
Lines: 25
NNTP-Posting-Host: bbn.com