EVENT_OBJECT_SELECTIONWITHIN Notes

[This is preliminary documentation and subject to change.]

A server application sends this notification when the selected items within a control have changed substantially. Effectively, this notification informs the client that many selection changes have occurred (instead of sending several EVENT_OBJECT_SELECTIONADD or EVENT_OBJECT_SELECTIONREMOVE events). The client can query for the selected items by calling the container object's IAccessible::get_accSelection method and enumerating the selected items.

For this event notification, the hwnd and idObject parameters of the WinEventProc callback function describe the container in which the changes occurred.

Do not confuse object selection with object focus. For more information, see Accessible Object Selection and Focus.