2 writes to HTREEITEMInternal
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1888HTREEITEMInternal = (HTREEITEM)PInvokeCore.SendMessage(tv, PInvoke.TVM_INSERTITEMW, 0, ref tvis); 1991HTREEITEMInternal = (HTREEITEM)IntPtr.Zero;
25 references to HTREEITEMInternal
System.Windows.Forms (25)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (23)
294if (HTREEITEMInternal == IntPtr.Zero) 308hItem = HTREEITEMInternal, 328if (HTREEITEMInternal != IntPtr.Zero && _treeView is not null && !_treeView.IsDisposed) 333hItem = HTREEITEMInternal, 484if (HTREEITEMInternal == IntPtr.Zero && TreeView is not null) 489return HTREEITEMInternal; 594public bool IsExpanded => HTREEITEMInternal == 0 602public bool IsSelected => HTREEITEMInternal != 0 613if (HTREEITEMInternal == IntPtr.Zero) 954if (HTREEITEMInternal == IntPtr.Zero) 1277if (HTREEITEMInternal != IntPtr.Zero) 1290PInvokeCore.SendMessage(tv, PInvoke.TVM_EDITLABELW, 0, (LPARAM)HTREEITEMInternal); 1836hParent = _parent.HTREEITEMInternal 1842tvis.hInsertAfter = insertFirst || prev is null ? HTREEITEM.TVI_FIRST : prev.HTREEITEMInternal; 1889tv._nodesByHandle[HTREEITEMInternal] = this; 1898PInvokeCore.PostMessage(tv, PInvoke.TVM_EDITLABELW, default, (LPARAM)HTREEITEMInternal); 1983if (HTREEITEMInternal != IntPtr.Zero) 1987PInvokeCore.SendMessage(tv, PInvoke.TVM_DELETEITEM, 0, (LPARAM)HTREEITEMInternal); 1990tv._nodesByHandle.Remove(HTREEITEMInternal); 2030hItem = HTREEITEMInternal, 2130if (HTREEITEMInternal == IntPtr.Zero) 2145hItem = HTREEITEMInternal 2182item.lParam = (LPARAM)HTREEITEMInternal;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (2)
301if (node.HTREEITEMInternal != IntPtr.Zero) 437if (node.HTREEITEMInternal != IntPtr.Zero)