MSAA Invisible state

Ask general questions here.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

MSAA Invisible state

Post by atom » Tue Jan 26, 2010 9:37 am

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: MSAA Invisible state

Post by Support Team » Tue Jan 26, 2010 10:56 am

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

atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Re: MSAA Invisible state

Post by atom » Tue Jan 26, 2010 1:42 pm

Ok thanks, we will try it !