On 3/2/06, Thom McGrath <[EMAIL PROTECTED]> wrote:
> I have an interesting problem. I'm attempting to wrap an HIView
> subclass and it's complete except it will not receive mouse events.
> If I add a beep to the window's mousedown, it beeps while clicking in
> the control.

There's no need to do all what you described. CarbonEvent handlers are
called in reverse order that they are installed. Simply install your
new carbon event handler at the window level during the Open event,
and you'll be safe.

Of course, not returning "eventNotHandledErr" will cause the events to
be ignored by REALbasic, so be careful that you only return "noErr"
when you truly handle the event.

-Jon


--
Jonathan Johnson
REAL Software, Inc.

REAL World 2006, The REALbasic User's Conference
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to