Custom accessible name, description is not visibl in Ranorex
Posted: Mon Feb 06, 2017 7:27 am
dear all,
I have a query.
I have a Microsoft property grid control
I wanted to provide my own Acc name and description for this grid conrol
I derived MyPropertyGrid from Property grid
I overridden CreateAccessibilityInstance() method to return an custom Accessible object
My custom accessible object is MyPropGridAccObject that is derived from ControlAccessibleObject
my overridden Acc name and Acc description do appear in the Microsoft tool Accessibility explorer
but it is not available to Ranorex spy tool.
so I doubted it could be the problem with this specific property grid control
so I tried with a simple button control on similar lines
but nothing worked
I am attaching the source code that I tried.
Can you please tell me, what is wrong that I am doing?
thanks,
Siva
I have a query.
I have a Microsoft property grid control
I wanted to provide my own Acc name and description for this grid conrol
I derived MyPropertyGrid from Property grid
I overridden CreateAccessibilityInstance() method to return an custom Accessible object
My custom accessible object is MyPropGridAccObject that is derived from ControlAccessibleObject
my overridden Acc name and Acc description do appear in the Microsoft tool Accessibility explorer
but it is not available to Ranorex spy tool.
so I doubted it could be the problem with this specific property grid control
so I tried with a simple button control on similar lines
but nothing worked
I am attaching the source code that I tried.
Can you please tell me, what is wrong that I am doing?
thanks,
Siva