Page 1 of 1

MSAA Invisible state

Posted: Tue Jan 26, 2010 9:37 am
by atom
Hiya

We have an MFC grid control that we have added MSAA support to
The grid comprises of Rows and Columns

The problem we have is that the Grid can contain say 15 columns, only 5 of which are visible to the user, the other 10 requiring horizontal scrolling to make them visible.
The first 5 columns are then reported to Ranorex with accessible state = Visible, and the remaining 10 are reported to Ranorex with accessible state = invisible

The problem is the columns reported as invisible cannot be accessed via the Ranorex API
How can we access invisible columns ?

Regards

Re: MSAA Invisible state

Posted: Tue Jan 26, 2010 10:56 am
by Support Team
If an element is invisible, but can be made visible by the user e.g. by scrolling it into view, both the AccessibleStates Invisible and Offscreen should be set. See the following documentation for the MSAA states:
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

If you can change the MSAA implementation of the grid, please make sure that the both the Invisible and the Offscreen flags are set to the cells that are scrolled out of view, then Ranorex will display these cells.

Regards,
Alex
Ranorex Support Team

Re: MSAA Invisible state

Posted: Tue Jan 26, 2010 1:42 pm
by atom
Ok thanks, we will try it !