Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Inserts a new item in a tree-view control. You can send this message explicitly or by using the TreeView_InsertItem macro.
Parameters
-
wParam
- Must be zero.
-
lParam
-
Pointer to a TVINSERTSTRUCT structure that specifies the attributes of the tree-view item.
Return value
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] |
| Header |
|
| Unicode and ANSI names |
TVM_INSERTITEMW (Unicode) and TVM_INSERTITEMA (ANSI) |