Help Center

CTreeView.GetFirstVisiblemethod

Retrieves the first visible item in a treeview control window.

WindowsmethodCTreeView.incdocumented

Syntax

FUNCTION GetFirstVisible (BYVAL hTreeView AS HWND) AS HTREEITEM

Parameters

NameDescription
hTreeViewThe handle of the TreeView control.

Return value

Returns the handle to the item if successful, or NULL otherwise.

Description

etrieves the first visible item in a tree-view control window.

Reference

  • Include file CTreeView.inc
  • Defined in AfxNova/CTreeView.inc:689
  • Documented in Windows/WIndows Controls/CTreeView Class.md
  • Topic: CTreeView Class