Changeset 293 for Include/api_commctrl.sbp
- Timestamp:
- Aug 16, 2007, 3:36:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/api_commctrl.sbp
r205 r293 767 767 Const TVM_INSERTITEM = TV_FIRST + 0 768 768 Function TreeView_InsertItem(hWnd As HWND, ByRef ref_is As TV_INSERTSTRUCT) As HTREEITEM 769 TreeView_InsertItem=SendMessage(hWnd,TVM_INSERTITEM,0,VarPtr(ref_is) As LPARAM) As HTREEITEM769 Return SendMessage(hWnd,TVM_INSERTITEM,0,VarPtr(ref_is) As LPARAM) As HTREEITEM 770 770 End Function 771 771 772 772 Const TVM_DELETEITEM = TV_FIRST + 1 773 773 Function TreeView_DeleteItem(hWnd As HWND, hitem As HTREEITEM) As BOOL 774 TreeView_InsertItem=SendMessage(hWnd,TVM_DELETEITEM,0,hitem As LPARAM) As BOOL774 Return SendMessage(hWnd,TVM_DELETEITEM,0,hitem As LPARAM) As BOOL 775 775 End Function 776 776 Function TreeView_DeleteAllItems(hWnd As HWND) As BOOL 777 TreeView_DeleteAllItems=SendMessage(hWnd,TVM_DELETEITEM,0,TVI_ROOT As LPARAM) As BOOL777 Return SendMessage(hWnd,TVM_DELETEITEM,0,TVI_ROOT As LPARAM) As BOOL 778 778 End Function 779 779
Note:
See TracChangeset
for help on using the changeset viewer.