[futurebasic] Re: [FB] Simple Carbon Events [CEUtil.incl]

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2007 : Group Archive : Group : All Groups

From: Bernie <fb.mailing.list@...>
Date: Sun, 14 Jan 2007 08:04:59 +0000
On 14 Jan 2007, at 07:31, Bernie wrote:

> I wonder if reusing Apple's event class constants for the target  
> parm could lead to confusion for the user? Maybe introducing your  
> target constants would be better, but named something like:
>
> _kCETargetWindow
> _kCETargetControl
> ...


Hm... if the user has to learn a new set of constants, they may as  
well use fn CEInstallEvents( fn GetWindowEventTarget(w), @fn  
MyWindowHandler, 0 ) instead, which de-clutterises even further.

Bernie