aswang  1.0
Public Types | Public Member Functions
aswang::TreeView Class Reference

#include <TreeView.h>

+ Inheritance diagram for aswang::TreeView:

List of all members.

Public Types

enum  TreeStyles {
  hasButtons = TVS_HASBUTTONS, hasLines = TVS_HASLINES, hasLinesAtRoot = TVS_LINESATROOT, editLabels = TVS_EDITLABELS,
  disableDragDrop = TVS_DISABLEDRAGDROP, showSelAlways = TVS_SHOWSELALWAYS
}

Public Member Functions

 TreeView (HWND h, window *p=NULL)
 TreeView (window *p, unsigned long newStyle=(WS_CHILD|hasButtons|hasLines|hasLinesAtRoot))
virtual ~TreeView ()
virtual const _TCHAR * GetClassName () const
virtual HTREEITEM AddTextItem (const AswangStr &text, HTREEITEM treeParent=TVI_ROOT, HTREEITEM insertAfter=TVI_ROOT)
virtual AswangStr GetItemText (HTREEITEM item)
virtual void DeleteItem (HTREEITEM item)
virtual void DeleteAllItems ()

Detailed Description

Definition at line 24 of file TreeView.h.


Member Enumeration Documentation

Enumerator:
hasButtons 
hasLines 
hasLinesAtRoot 
editLabels 
disableDragDrop 
showSelAlways 

Definition at line 26 of file TreeView.h.


Constructor & Destructor Documentation

aswang::TreeView::TreeView ( HWND  h,
window p = NULL 
) [inline]

Definition at line 51 of file TreeView.h.

aswang::TreeView::TreeView ( window p,
unsigned long  newStyle = (WS_CHILD|hasButtons|hasLines|hasLinesAtRoot) 
) [inline]

Definition at line 52 of file TreeView.h.

virtual aswang::TreeView::~TreeView ( ) [inline, virtual]

Definition at line 53 of file TreeView.h.


Member Function Documentation

HTREEITEM TreeView::AddTextItem ( const AswangStr text,
HTREEITEM  treeParent = TVI_ROOT,
HTREEITEM  insertAfter = TVI_ROOT 
) [virtual]

Definition at line 24 of file TreeView.cpp.

virtual void aswang::TreeView::DeleteAllItems ( ) [inline, virtual]

Definition at line 60 of file TreeView.h.

void TreeView::DeleteItem ( HTREEITEM  item) [virtual]

Definition at line 58 of file TreeView.cpp.

virtual const _TCHAR* aswang::TreeView::GetClassName ( ) const [inline, virtual]

Implements aswang::window.

Definition at line 55 of file TreeView.h.

AswangStr TreeView::GetItemText ( HTREEITEM  item) [virtual]

Definition at line 36 of file TreeView.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines