Re: Custom Control with AXSlider Role
Re: Custom Control with AXSlider Role
- Subject: Re: Custom Control with AXSlider Role
- From: Mike Engber <email@hidden>
- Date: Tue, 10 Mar 2009 09:31:33 -0700
On Mar 9, 2009, at 5:04 PM, Chris Suter wrote:
workaround this, I implemented the undocumented -
(BOOL)accessibilityShouldUseUniqueId method and made sure that I clean
up by calling NSAccessibilityUnregisterUniqueIdForUIElement (self)
in my dealloc method.
As was previously noted, we neither confirm or deny the existence of
undocumented functions like
NSAccessibilityUnregisterUniqueIdForUIElement, but if such a function
did, in fact, exist
the proper time to call it would be when the ui element
"disappears" (i.e. is no longer reported as child by its parent) -
which may or may not correspond to dealloc depending on the specifics
of your code. E.g. simply hiding it would make it disappear.
-ME
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden