1 write to _hItem
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
726
_hItem
= hItem;
38 references to _hItem
UIAutomationClientSideProviders (38)
MS\Internal\AutomationProxies\WindowsTreeView.cs (38)
160
IntPtr hNext = GetNextItem (_hwnd, ((TreeViewItem) child).
_hItem
);
187
IntPtr hPrev = GetPreviousItem (_hwnd, ((TreeViewItem) child).
_hItem
);
750
return IsItemExpanded (_hwnd,
_hItem
) ? NextSibling (child) : null;
759
return IsItemExpanded (_hwnd,
_hItem
) ? PreviousSibling (child) : null;
766
return IsItemExpanded (_hwnd,
_hItem
) ? FirstChild () : null;
773
return IsItemExpanded (_hwnd,
_hItem
) ? LastChild () : null;
840
return WindowsTreeView.GetItemRect(_hwnd,
_hItem
, true).ToRect(false);
849
NativeMethods.Win32Rect itemRect = GetItemRect(_hwnd,
_hItem
, true);
930
return WindowsTreeView.SelectItem (_hwnd,
_hItem
);
940
if (Marshal.SizeOf(
_hItem
.GetType()) > sizeof(int))
943
int highPart = NativeMethods.Util.HIDWORD((long)
_hItem
);
944
int lowPart = NativeMethods.Util.LODWORD((long)
_hItem
);
950
return new int[3] { ProxySimple.Win32ProviderRuntimeIdBase, (int)_hwnd, (int)
_hItem
};
982
if (!WindowsTreeView.SelectItem(_hwnd,
_hItem
))
1018
if (!WindowsTreeView.SelectItem(_hwnd,
_hItem
))
1098
WindowsTreeView.Expand (_hwnd,
_hItem
);
1123
WindowsTreeView.Collapse (_hwnd,
_hItem
);
1156
if (!WindowsTreeView.SetItemText(_hwnd,
_hItem
, val))
1202
WindowsTreeView.SetCheckState(_hwnd,
_hItem
, GetToggleState() != ToggleState.On);
1233
Misc.ProxySendMessage(_hwnd, NativeMethods.TVM_ENSUREVISIBLE, IntPtr.Zero,
_hItem
);
1286
int selected = Misc.ProxySendMessageInt(_hwnd, NativeMethods.TVM_GETITEMSTATE,
_hItem
, new IntPtr(NativeMethods.TVIS_SELECTED));
1309
if (!WindowsTreeView.IsItemExpanded (_hwnd, current.
_hItem
))
1321
IntPtr hNext = WindowsTreeView.GetNextItem (_hwnd, ((TreeViewItem) child).
_hItem
);
1331
IntPtr hPrev = WindowsTreeView.GetPreviousItem (_hwnd, ((TreeViewItem) child).
_hItem
);
1339
IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd,
_hItem
);
1347
if (!IsItemExpanded (_hwnd,
_hItem
))
1352
IntPtr hChild = WindowsTreeView.GetFirstChild (_hwnd,
_hItem
);
1371
bool expanded = WindowsTreeView.IsItemExpanded (_hwnd,
_hItem
);
1379
bool hasChildren = WindowsTreeView.TreeViewItem_HasChildren (_hwnd,
_hItem
);
1408
state = (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd,
_hItem
);
1459
NativeMethods.Win32Rect rectItem = WindowsTreeView.GetItemRect(_hwnd,
_hItem
, true);
1485
int selected = WindowsTreeView.GetItemState(_hwnd,
_hItem
, NativeMethods.TVIS_SELECTED);
1505
isCheckbox = WindowsTreeView.CheckState.NoCheckbox != (WindowsTreeView.CheckState)WindowsTreeView.GetCheckState(_hwnd,
_hItem
);
1534
return WindowsTreeView.GetItemText (_hwnd,
_hItem
);
1549
if (WindowsTreeView.GetItem(_hwnd,
_hItem
, NativeMethods.TVIF_IMAGE | NativeMethods.TVIF_STATE, out treeItem))
1638
if (
_hItem
== IntPtr.Zero)
1641
int childId = Misc.ProxySendMessageInt(_hwnd, TVM_MAPHTREEITEMTOACCID,
_hItem
, IntPtr.Zero);
1653
return
_hItem
.ToInt32();