|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Used to represent the data to be stored in the TTreeViewCtrl. More...
#include <owl/treeviewctrl.h>
Public Member Functions | |
| TTvItem () | |
| this is called by some TTreeNode constructors | |
| TTvItem (TVITEM item) | |
| TTvItem (LPCTSTR, int len=0) | |
| TTvItem (LPCTSTR, int index, int selIndex) | |
| void | SetText (LPCTSTR, int len=-1) |
| Initialize the text. | |
| void | GetText (TCHAR *, int len) |
| void | SetHTreeItem (HTREEITEM hItem) |
| HTREEITEM | GetHTreeitem () const |
| void | SetImageIndex (int index) |
| Set the imagelist index. | |
| void | SetSelectedImageIndex (int index) |
| Set the selected image index. | |
| void | SetItemData (LPARAM) |
| Store additional information. | |
| LPARAM | GetItemData () const |
Protected Member Functions | |
| void | Init () |
Used to represent the data to be stored in the TTreeViewCtrl.
TODO: Make the object hold a copy of the item text. See TLvItem.
Definition at line 49 of file treeviewctrl.h.
| owl::TTvItem::TTvItem | ( | ) |
this is called by some TTreeNode constructors
Definition at line 758 of file treeviewctrl.cpp.
References Init().
| owl::TTvItem::TTvItem | ( | TVITEM | item | ) |
Definition at line 766 of file treeviewctrl.cpp.
References Init().
| owl::TTvItem::TTvItem | ( | LPCTSTR | text, |
| int | len = 0 ) |
Definition at line 775 of file treeviewctrl.cpp.
| owl::TTvItem::TTvItem | ( | LPCTSTR | text, |
| int | index, | ||
| int | selIndex ) |
Definition at line 784 of file treeviewctrl.cpp.
References Init(), SetImageIndex(), SetSelectedImageIndex(), and SetText().
| HTREEITEM owl::TTvItem::GetHTreeitem | ( | ) | const |
Definition at line 828 of file treeviewctrl.cpp.
| LPARAM owl::TTvItem::GetItemData | ( | ) | const |
Definition at line 867 of file treeviewctrl.cpp.
| void owl::TTvItem::GetText | ( | TCHAR * | buffer, |
| int | len ) |
Definition at line 807 of file treeviewctrl.cpp.
References _tcsncpy.
|
protected |
Definition at line 750 of file treeviewctrl.cpp.
| void owl::TTvItem::SetHTreeItem | ( | HTREEITEM | hItem | ) |
Definition at line 818 of file treeviewctrl.cpp.
| void owl::TTvItem::SetImageIndex | ( | int | index | ) |
Set the imagelist index.
Definition at line 847 of file treeviewctrl.cpp.
| void owl::TTvItem::SetItemData | ( | LPARAM | data | ) |
Store additional information.
Definition at line 837 of file treeviewctrl.cpp.
| void owl::TTvItem::SetSelectedImageIndex | ( | int | index | ) |
Set the selected image index.
Definition at line 857 of file treeviewctrl.cpp.
| void owl::TTvItem::SetText | ( | LPCTSTR | buffer, |
| int | len = -1 ) |