Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.39 KB

nf-commctrl-treeview_ensurevisible.md

File metadata and controls

71 lines (58 loc) · 2.39 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:commctrl.TreeView_EnsureVisible
TreeView_EnsureVisible macro (commctrl.h)
Ensures that a tree-view item is visible, expanding the parent item or scrolling the tree-view control, if necessary. You can use this macro or send the TVM_ENSUREVISIBLE message explicitly.
TreeView_EnsureVisible
TreeView_EnsureVisible macro [Windows Controls]
_win32_TreeView_EnsureVisible
_win32_TreeView_EnsureVisible_cpp
commctrl/TreeView_EnsureVisible
controls.TreeView_EnsureVisible
controls._win32_TreeView_EnsureVisible
controls\TreeView_EnsureVisible.htm
Controls
VS|Controls|~\controls\treeview\macros\treeview_ensurevisible.htm
12/05/2018
TreeView_EnsureVisible, TreeView_EnsureVisible macro [Windows Controls], _win32_TreeView_EnsureVisible, _win32_TreeView_EnsureVisible_cpp, commctrl/TreeView_EnsureVisible, controls.TreeView_EnsureVisible, controls._win32_TreeView_EnsureVisible
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
TreeView_EnsureVisible
commctrl/TreeView_EnsureVisible
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
TreeView_EnsureVisible

TreeView_EnsureVisible macro

-description

Ensures that a tree-view item is visible, expanding the parent item or scrolling the tree-view control, if necessary. You can use this macro or send the TVM_ENSUREVISIBLE message explicitly.

-parameters

-param hwnd

Type: HWND

Handle to the tree-view control.

-param hitem

Type: HTREEITEM

Handle to the item.

-remarks

If the TreeView_EnsureVisible macro expands the parent item, the parent window receives the TVN_ITEMEXPANDING and TVN_ITEMEXPANDED notification codes.