zTreeView Class Reference

DERIVED CLASS FOR TREEVIEW CONTROLS. More...

#include <Zclass.h>

Inheritance diagram for zTreeView:
zWindow

List of all members.

Public Member Functions

HTREEITEM Child (HTREEITEM item)
void Collapse (HTREEITEM item)
void CollapseBranch (HTREEITEM item)
void Edit (HTREEITEM item)
void Current (HTREEITEM item)
void Expand (HTREEITEM item)
void ExpandBranch (HTREEITEM item)
void Indent (int indent)
HTREEITEM ItemParent (HTREEITEM item)
HTREEITEM Next (HTREEITEM item)
void Delete (HTREEITEM item)
void SortChildren (HTREEITEM item)
xstring Text (HTREEITEM item)
void Text (HTREEITEM item, LPCTSTR txt, int maxlen)
void Toggle (HTREEITEM item)

Detailed Description

DERIVED CLASS FOR TREEVIEW CONTROLS.

% Provides the functionality of the Windows common tree view control. A “tree view control” is a window that displays a hierarchical list of items, such as the headings in a document,the entries in an index,or the files and directories on a disk. Each item consists of a label and an optional bitmapped image,and each item can have a list of subitems associated with it. By clicking an item,the user can expand and collapse the associated list of subitems.


Member Function Documentation

HTREEITEM zTreeView::Child ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.
void zTreeView::Collapse ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.
void zTreeView::CollapseBranch ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.
void zTreeView::Current ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.
void zTreeView::Delete ( HTREEITEM  item  )  [inline]

Removes an item.

Parameters:
item - Handle to an item.
void zTreeView::Edit ( HTREEITEM  item  )  [inline]

Begins in-place editing of the specified item's text, replacing the text of the item with a single-line edit control containing the text. Implicitly selects and focuses the specified item. Sends a TVN_BEGINLABELEDIT notification message to the parent of the tree view control.

Parameters:
item - Handle to an item.
void zTreeView::Expand ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.
void zTreeView::ExpandBranch ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.
void zTreeView::Indent ( int  indent  )  [inline]

Sets the width of indentation and redraws the control to reflect the new width.

Parameters:
indent - Width, in pixels, of the indentation. If this parameter is less than the system-defined minimum width, the new width is set to the system-defined minimum.
HTREEITEM zTreeView::ItemParent ( HTREEITEM  item  )  [inline]

Retrieves the parent item of the specified tree view item.

Parameters:
item - Handle to an item.
Returns:
the handle to the item if successful, or NULL otherwise.
HTREEITEM zTreeView::Next ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.
void zTreeView::SortChildren ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.
void zTreeView::Text ( HTREEITEM  item,
LPCTSTR  txt,
int  maxlen 
)
Parameters:
item - Handle to an item.
txt - .
maxlen - .
xstring zTreeView::Text ( HTREEITEM  item  ) 
Parameters:
item - Handle to an item.
void zTreeView::Toggle ( HTREEITEM  item  )  [inline]
Parameters:
item - Handle to an item.

The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:17 2009 for Rad.on++ by  doxygen 1.6.1