Re: Creating an application HIObject?
Re: Creating an application HIObject?
- Subject: Re: Creating an application HIObject?
- From: Eric Schlegel <email@hidden>
- Date: Tue, 10 Dec 2002 15:14:06 -0800
On Tuesday, December 10, 2002, at 03:00 PM, Raymond Fischer wrote:
Not quite the answer, but useful anyway. Last I'd looked at custom
controls they
still involved CDEFs. I gather that now it's just a matter of
implementing the
standard accessibility events.
Yes, since 10.0 you've been able to implement a custom control using
either the CDEF model or a Carbon-event-based model. You can also add
Carbon event handlers to a CDEF-based custom control, mixing both
styles.
I see that there are accessibility notifications defined for when an
app is
activated/deactivated. Can I assume that means that they're not
automatically
generated for me as needed?
No, actually, those notifications should be generated automatically.
And posting an app notification turns out to be painful.
AXNotificationHIObjectNotify
is straightforward enough, but despite digging in several places I
don't see an
obvious way of creating an application HIObject.
You don't need it for this case, but for future reference:
HIApplicationGetCurrent in HIToolbox/MacApplication.h.
-eric
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.