Reported by jteh on 2012-09-05 03:18
Microsoft implemented custom UIA properties in Windows 7 Items View to retrieve the item index and item count of list items and lists, respectively. We've never supported these because they were specific to Items View, which is a bit tricky to detect. (We did request that these be added to the main UIA spec, but Microsoft refused.) It looks like other app and AT vendors are using these regardless, so we may as well do the same.
Comment 1 by mdcurran on 2012-10-04 20:26
I had a quick look at this. I can certainly find the coorect constants, but I'm lost as to how to convert these GUIDs in to UIA property IDs. Seems we have to use IUIAutomationRegistra's registerProperty method, but the propertyInfo structure takes more than just the GUID (e.g. a programmatic name). The app vendor would first call registerPropertyto register these custom properties... and then I guess we call it as well? but if so what do we do with programatic name? Microsoft community promise spec is not too helpfull hear. Though I havn't looked for any updated docs on MSDN yet.