STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Control Library (WinSTL)
[WinSTLControl Library]

This library provides facilities for defining and manipulating Win32 GUI controls. More...

Compounds

struct  combobox_add_inserter
 Function object used to add items to a combo-box. More...

struct  combobox_back_inserter
 Function object used to insert items to the back of a combo-box. More...

struct  combobox_front_inserter
 Function object used to insert items at the front of combo-box. More...

class  combobox_sequence
 STL-like sequence for combo-box contents. More...

class  combobox_sequence_const_iterator
 Iterator for combobox_sequence class. More...

struct  listbox_add_inserter
 Function object used to add items to a list-box. More...

struct  listbox_back_inserter
 Function object used to insert items to the back of a list-box. More...

struct  listbox_front_inserter
 Function object used to insert items at the front of list-box. More...

class  listbox_sequence
 STL-like sequence for list-box contents. More...

class  listbox_sequence_const_iterator
 Iterator for listbox_sequence class. More...

struct  listview_inserter
 Function object used to insert items into list views. More...

class  listview_sequence
 Provides an STL-like sequence over the contents of a Windows List-view ("SysListView32"). More...

class  listview_sequence_item
 Item class used by the listview_sequence class. More...

class  treeview_child_sequence
 Presents an STL-like sequence interface to the children of a given node in a tree-view. More...

struct  treeview_inserter
 Function object used to insert items into tree views. More...

class  treeview_peer_sequence
 Presents an STL-like sequence interface to the peers of a given node in a tree-view. More...

class  treeview_sequence_base
 Base class for the treeview_child_sequence and treeview_peer_sequence classes. More...

class  treeview_sequence_const_iterator
 Iterator for the treeview_child_sequence, treeview_peer_sequence and treeview_visible_sequence classes. More...

class  treeview_visible_sequence
 Presents an STL-like sequence interface to the visible items in a tree-view. More...


Typedefs

typedef listview_inserter<
false > 
listview_front_inserter
 Function object used to insert items at the front of list-views.

typedef listview_inserter<
true > 
listview_back_inserter
 Function object used to insert items at the back of list-views.


Functions

HTREEITEM treeview_getnextitem (HWND hwnd, HTREEITEM hitem, UINT flag)
 Gets the next item in the tree view.

HTREEITEM treeview_getchilditem (HWND hwnd, HTREEITEM hitem)
 Gets the tree view child item.

HTREEITEM treeview_getrootitem (HWND hwnd)
 Gets the tree view root item.

HTREEITEM treeview_getcaretitem (HWND hwnd)
 Gets the tree view caret item.

ws_int_t combobox_addstring_a (HWND hwnd, ws_char_a_t const *s)
 Adds an ANSI string to a combo-box.

ws_int_t combobox_addstring_w (HWND hwnd, ws_char_w_t const *s)
 Adds a Unicode string to a combo-box.

ws_int_t combobox_addstring (HWND hwnd, LPCTSTR s)
 Adds a string (in the ambient char-encoding) to a combo-box.

ws_int_t combobox_insertstring_a (HWND hwnd, ws_char_a_t const *s, int index)
 Inserts an ANSI string into a combo-box at the given index.

ws_int_t combobox_insertstring_w (HWND hwnd, ws_char_w_t const *s, int index)
 Inserts a Unicode string into a combo-box at the given index.

ws_int_t combobox_insertstring (HWND hwnd, LPCTSTR s, int index)
 Inserts a string (in the ambient char-encoding) into a combo-box at the given index.

ws_int_t combobox_gettextlen (HWND hwnd, ws_int_t index)
 Gets the text length of an item in a combo-box.

ws_int_t combobox_gettext (HWND hwnd, ws_int_t index, LPCSTR s)
 Gets the text of an item in a combo-box.

ws_int_t combobox_getcount (HWND hwnd)
 Gets the number of items in a combo-box.

ws_int_t listbox_addstring_a (HWND hwnd, ws_char_a_t const *s)
 Adds an ANSI string to a list-box.

ws_int_t listbox_addstring_w (HWND hwnd, ws_char_w_t const *s)
 Adds a Unicode string to a list-box.

ws_int_t listbox_addstring (HWND hwnd, LPCTSTR s)
 Adds a string (in the ambient char-encoding) to a list-box.

ws_int_t listbox_insertstring_a (HWND hwnd, ws_char_a_t const *s, int index)
 Inserts an ANSI string into a list-box at the given index.

ws_int_t listbox_insertstring_w (HWND hwnd, ws_char_w_t const *s, int index)
 Inserts a Unicode string into a list-box at the given index.

ws_int_t listbox_insertstring (HWND hwnd, LPCTSTR s, int index)
 Inserts a string (in the ambient char-encoding) into a list-box at the given index.

ws_int_t listbox_gettextlen (HWND hwnd, ws_int_t index)
 Gets the text length of an item in a list-box.

ws_int_t listbox_gettext (HWND hwnd, ws_int_t index, LPCSTR s)
 Gets the text of an item in a list-box.

ws_int_t listbox_getcount (HWND hwnd)
 Gets the number of items in a list-box.


Detailed Description

This library provides facilities for defining and manipulating Win32 GUI controls.


Typedef Documentation

typedef listview_inserter<true> listview_back_inserter
 

Function object used to insert items at the back of list-views.

typedef listview_inserter<false> listview_front_inserter
 

Function object used to insert items at the front of list-views.


Function Documentation

ws_int_t combobox_addstring HWND    hwnd,
LPCTSTR    s
[inline]
 

Adds a string (in the ambient char-encoding) to a combo-box.

ws_int_t combobox_addstring_a HWND    hwnd,
ws_char_a_t const *    s
[inline]
 

Adds an ANSI string to a combo-box.

ws_int_t combobox_addstring_w HWND    hwnd,
ws_char_w_t const *    s
[inline]
 

Adds a Unicode string to a combo-box.

ws_int_t combobox_getcount HWND    hwnd [inline]
 

Gets the number of items in a combo-box.

ws_int_t combobox_gettext HWND    hwnd,
ws_int_t    index,
LPCSTR    s
[inline]
 

Gets the text of an item in a combo-box.

ws_int_t combobox_gettextlen HWND    hwnd,
ws_int_t    index
[inline]
 

Gets the text length of an item in a combo-box.

ws_int_t combobox_insertstring HWND    hwnd,
LPCTSTR    s,
int    index
[inline]
 

Inserts a string (in the ambient char-encoding) into a combo-box at the given index.

ws_int_t combobox_insertstring_a HWND    hwnd,
ws_char_a_t const *    s,
int    index
[inline]
 

Inserts an ANSI string into a combo-box at the given index.

ws_int_t combobox_insertstring_w HWND    hwnd,
ws_char_w_t const *    s,
int    index
[inline]
 

Inserts a Unicode string into a combo-box at the given index.

ws_int_t listbox_addstring HWND    hwnd,
LPCTSTR    s
[inline]
 

Adds a string (in the ambient char-encoding) to a list-box.

ws_int_t listbox_addstring_a HWND    hwnd,
ws_char_a_t const *    s
[inline]
 

Adds an ANSI string to a list-box.

ws_int_t listbox_addstring_w HWND    hwnd,
ws_char_w_t const *    s
[inline]
 

Adds a Unicode string to a list-box.

ws_int_t listbox_getcount HWND    hwnd [inline]
 

Gets the number of items in a list-box.

ws_int_t listbox_gettext HWND    hwnd,
ws_int_t    index,
LPCSTR    s
[inline]
 

Gets the text of an item in a list-box.

ws_int_t listbox_gettextlen HWND    hwnd,
ws_int_t    index
[inline]
 

Gets the text length of an item in a list-box.

ws_int_t listbox_insertstring HWND    hwnd,
LPCTSTR    s,
int    index
[inline]
 

Inserts a string (in the ambient char-encoding) into a list-box at the given index.

ws_int_t listbox_insertstring_a HWND    hwnd,
ws_char_a_t const *    s,
int    index
[inline]
 

Inserts an ANSI string into a list-box at the given index.

ws_int_t listbox_insertstring_w HWND    hwnd,
ws_char_w_t const *    s,
int    index
[inline]
 

Inserts a Unicode string into a list-box at the given index.

HTREEITEM treeview_getcaretitem HWND    hwnd [inline]
 

Gets the tree view caret item.

Parameters:
hwnd  The tree view window handle

HTREEITEM treeview_getchilditem HWND    hwnd,
HTREEITEM    hitem
[inline]
 

Gets the tree view child item.

Parameters:
hwnd  The tree view window handle
hitem  The tree view item whose child is to be retrieved

HTREEITEM treeview_getnextitem HWND    hwnd,
HTREEITEM    hitem,
UINT    flag
[inline]
 

Gets the next item in the tree view.

Parameters:
hwnd  The tree view window handle
hitem  The tree view item
flag  One of the TVGN_* search flags

HTREEITEM treeview_getrootitem HWND    hwnd [inline]
 

Gets the tree view root item.

Parameters:
hwnd  The tree view window handle

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004