1 write to _hItem
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
728
_hItem
= hItem;
38 references to _hItem
UIAutomationClientSideProviders (38)
MS\Internal\AutomationProxies\WindowsTreeView.cs (38)
162
IntPtr hNext = GetNextItem (_hwnd, ((TreeViewItem) child).
_hItem
);
189
IntPtr hPrev = GetPreviousItem (_hwnd, ((TreeViewItem) child).
_hItem
);
752
return IsItemExpanded (_hwnd,
_hItem
) ? NextSibling (child) : null;
761
return IsItemExpanded (_hwnd,
_hItem
) ? PreviousSibling (child) : null;
768
return IsItemExpanded (_hwnd,
_hItem
) ? FirstChild () : null;
775
return IsItemExpanded (_hwnd,
_hItem
) ? LastChild () : null;
842
return WindowsTreeView.GetItemRect(_hwnd,
_hItem
, true).ToRect(false);
851
NativeMethods.Win32Rect itemRect = GetItemRect(_hwnd,
_hItem
, true);
932
return WindowsTreeView.SelectItem (_hwnd,
_hItem
);
942
if (Marshal.SizeOf(
_hItem
.GetType()) > sizeof(int))
945
int highPart = NativeMethods.Util.HIDWORD((long)
_hItem
);
946
int lowPart = NativeMethods.Util.LODWORD((long)
_hItem
);
952
return new int[3] { ProxySimple.Win32ProviderRuntimeIdBase, (int)_hwnd, (int)
_hItem
};
984
if (!WindowsTreeView.SelectItem(_hwnd,
_hItem
))
1020
if (!WindowsTreeView.SelectItem(_hwnd,
_hItem
))
1100
WindowsTreeView.Expand (_hwnd,
_hItem
);
1125
WindowsTreeView.Collapse (_hwnd,
_hItem
);
1158
if (!WindowsTreeView.SetItemText(_hwnd,
_hItem
, val))
1204
WindowsTreeView.SetCheckState(_hwnd,
_hItem
, GetToggleState() != ToggleState.On);
1235
Misc.ProxySendMessage(_hwnd, NativeMethods.TVM_ENSUREVISIBLE, IntPtr.Zero,
_hItem
);
1288
int selected = Misc.ProxySendMessageInt(_hwnd, NativeMethods.TVM_GETITEMSTATE,
_hItem
, new IntPtr(NativeMethods.TVIS_SELECTED));
1311
if (!WindowsTreeView.IsItemExpanded (_hwnd, current.
_hItem
))
1323
IntPtr hNext = WindowsTreeView.GetNextItem (_hwnd, ((TreeViewItem) child).
_hItem
);
1333
IntPtr hPrev = WindowsTreeView.GetPreviousItem (_hwnd, ((TreeViewItem) child).
_hItem
);
1341
IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd,
_hItem
);
1349
if (!IsItemExpanded (_hwnd,
_hItem
))
1354
IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd,
_hItem
);
1373
bool expanded = WindowsTreeView.IsItemExpanded (_hwnd,
_hItem
);
1381
bool hasChildren = WindowsTreeView.TreeViewItem_HasChildren (_hwnd,
_hItem
);
1410
state = (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd,
_hItem
);
1461
NativeMethods.Win32Rect rectItem = WindowsTreeView.GetItemRect(_hwnd,
_hItem
, true);
1487
int selected = WindowsTreeView.GetItemState(_hwnd,
_hItem
, NativeMethods.TVIS_SELECTED);
1507
isCheckbox = WindowsTreeView.CheckState.NoCheckbox != (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd,
_hItem
);
1536
return WindowsTreeView.GetItemText (_hwnd,
_hItem
);
1551
if (WindowsTreeView.GetItem(_hwnd,
_hItem
, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))
1640
if (
_hItem
== IntPtr.Zero)
1643
int childId = Misc.ProxySendMessageInt(_hwnd, TVM_MAPHTREEITEMTOACCID,
_hItem
, IntPtr.Zero);
1655
return
_hItem
.ToInt32();