[futurebasic] Re: [FB] Generalized BoundsChangedHandler using @FN

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2005 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Wed, 14 Sep 2005 01:03:15 +1200
Alain Pastor wrote:


> We could have a runtime Carbon Events compliant in that way, no?
>
> What would be the caveat with that method?
> The only thing I can think of is that the runtime would have to  
> register all the possible event kinds for all the windows and that  
> might be not very efficient, and perhaps that would even defeat the  
> purpose of the Carbon Events in the first place.
>

_kEventWindowUpdate = 1  ...  _kEventWindowPaint = 1013
That's a lot of window events to install a handler on.  There are  
significant gaps in the range, but still...

Robert P.