You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Comment 2 by jteh on 2012-10-07 23:04
The article I linked includes the programmatic names. For example, it says "(UIAutomationType: UIAutomationType_Int, Programmatic Name: "!ItemCount")".
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.
Reference: http://msdn.microsoft.com/en-us/library/windows/desktop/ff486373%28v=vs.85%29.aspx
Relevant properties:
Blocking Report object position information broken in windows explorer #833
The text was updated successfully, but these errors were encountered: