Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

UIAutomation and TextControl - how to check checkbox(?)

$
0
0

Hi,

I can observe a strange behavior of TextControl(?) Let's see on the picture:


This is my control, and Inspect info for the check box (not theDisable text!) is:

How found:Mouse move (157,323)
hwnd=0x00000000003A0090 64bit class="SysListView32" style=0x5001480D ex=0x204
Name:"Disable"
ControlType:UIA_TextControlTypeId (0xC364)
LocalizedControlType:"text"
BoundingRectangle:{l:138 t:310 r:187 b:330}
IsEnabled:true
IsOffscreen:false
IsKeyboardFocusable:true
HasKeyboardFocus:true
ProcessId:5504
RuntimeId:[2A.3A0090.2.0.0]
AutomationId:"ListViewSubItem-0"
FrameworkId:"Win32"
ProviderDescription:"[pid:5504,hwnd:0x0 Annotation:Microsoft: Annotation Proxy (unmanaged:uiautomationcore.dll); Main(parent link):Microsoft: ListView SubItem Proxy (unmanaged:uiautomationcore.dll)]"
IsPeripheral:[Not supported]
GridItem.Column:0
GridItem.ColumnSpan:1
GridItem.ContainingGrid:"Select the sound effects to apply for your current listening configuration. Changes may not take effect until the next time you
GridItem.Row:0
GridItem.RowSpan:1
LegacyIAccessible.ChildId:0
LegacyIAccessible.DefaultAction:""
LegacyIAccessible.Description:""
LegacyIAccessible.Help:""
LegacyIAccessible.KeyboardShortcut:""
LegacyIAccessible.Name:"Disable"
LegacyIAccessible.Role:text (0x29)
LegacyIAccessible.State:focused,focusable (0x100004)
LegacyIAccessible.Value:""
Table.ItemColumnHeaderItems:"Effects" header item
Table.ItemRowHeaderItems:
IsAnnotationPatternAvailable:false
IsDragPatternAvailable:false
IsDockPatternAvailable:false
IsDropTargetPatternAvailable:false
IsExpandCollapsePatternAvailable:false
IsGridItemPatternAvailable:true
IsGridPatternAvailable:false
IsInvokePatternAvailable:false
IsItemContainerPatternAvailable:false
IsLegacyIAccessiblePatternAvailable:true
IsMultipleViewPatternAvailable:false
IsObjectModelPatternAvailable:false
IsRangeValuePatternAvailable:false
IsScrollItemPatternAvailable:false
IsScrollPatternAvailable:false
IsSelectionItemPatternAvailable:false
IsSelectionPatternAvailable:false
IsSpreadsheetItemPatternAvailable:false
IsSpreadsheetPatternAvailable:false
IsStylesPatternAvailable:false
IsSynchronizedInputPatternAvailable:false
IsTableItemPatternAvailable:true
IsTablePatternAvailable:false
IsTextChildPatternAvailable:false
IsTextEditPatternAvailable:[Not supported]
IsTextPatternAvailable:false
IsTextPattern2Available:false
IsTogglePatternAvailable:false
IsTransformPatternAvailable:false
IsTransform2PatternAvailable:false
IsValuePatternAvailable:false
IsVirtualizedItemPatternAvailable:false
IsWindowPatternAvailable:false
FirstChild:[null]
LastChild:[null]
Next:[null]
Previous:[null]
Other Props:Object has no additional properties
Children:Container has no children
Ancestors:"Disable" list item
"Select the sound effects to apply for your current listening configuration. Changes may not take effect until the next time you
"Microphone Properties" dialog
"Sound" dialog
"Desktop" pane
[ No Parent ]

My concern is: how to check that check box which is recognized under inspect as TextControl?


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>