Re: FocusedUIElement notification for menus and menu items
Re: FocusedUIElement notification for menus and menu items
- Subject: Re: FocusedUIElement notification for menus and menu items
- From: Eric Schlegel <email@hidden>
- Date: Tue, 28 Oct 2003 11:35:33 -0800
On Oct 28, 2003, at 10:18 AM, David Niemeijer wrote:
I have not needed the notification mechanisms yet so please correct me
if I make a stupid remark, but I would say that even if the current
method may be theoretically less correct (though that depends on how
you define the "focus" concept) it would seem to me that it is more
powerful then if there would be only notifications if the menu itself
changes. I mean, in the current situation it should be relatively easy
for the accessibility app to figure out after a notification for a
menu item focus change that the item belongs to the same menu so that
the "focused" menu has not really changed. In the alternative
situation knowing that the "focused" menu changes is easier, but there
will no longer be a way to get notified if the "focused" menu item
changed.
You are correct; in the current model, you can use the FocusedUIElement
notification to find out when the selected menu item changes. If I were
to change to only send the FocusedUIElement notification when the menu
changes, then there would be no way to track the menu selection, unless
we added some other notification.
On Oct 28, 2003, at 10:44 AM, John Louch wrote:
There already is a notification when selected item changed. This is
what
you should use to determine the selected item of a menu.
Actually, the only notification that's currently sent when the selected
item changes _is_ the FocusedUIElementChanged notification.
-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.