नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Inserts a new item in a tree-view control. You can use this macro or send the TVM_INSERTITEM message explicitly.
Syntax
HTREEITEM TreeView_InsertItem(
HWND hwnd,
LPTVINSERTSTRUCT lpis
);
Parameters
hwnd
Type: HWND
Handle to the tree-view control.
lpis
Type: LPTVINSERTSTRUCT
Pointer to a TVINSERTSTRUCT structure that specifies the attributes of the tree-view item.
Return value
Type: HTREEITEM
Returns the HTREEITEM handle to the new item if successful, or NULL otherwise.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |