winstl/controls/functions.h File Reference


Detailed Description

[C, C++] Various Windows control functions (Windows Controls Library).

#include <winstl/winstl.h>
#include <winstl/window/message_functions.h>
#include <stlsoft/shims/access/string.hpp>

Go to the source code of this file.

Namespaces

namespace  winstl

Functions

STLSOFT_INLINE int winstl__combobox_addstring_a (HWND hwnd, char const *s)
 Adds an ANSI string to a combo-box.
STLSOFT_INLINE int winstl__combobox_addstring_w (HWND hwnd, wchar_t const *s)
 Adds a Unicode string to a combo-box.
STLSOFT_INLINE int winstl__combobox_addstring (HWND hwnd, LPCTSTR s)
 Adds a string (in the ambient char-encoding) to a combo-box.
STLSOFT_INLINE int winstl__combobox_insertstring_a (HWND hwnd, char const *s, int index)
 Inserts an ANSI string into a combo-box at the given index.
STLSOFT_INLINE int winstl__combobox_insertstring_w (HWND hwnd, wchar_t const *s, int index)
 Inserts a Unicode string into a combo-box at the given index.
STLSOFT_INLINE int winstl__combobox_insertstring (HWND hwnd, LPCTSTR s, int index)
 Inserts a string (in the ambient char-encoding) into a combo-box at the given index.
STLSOFT_INLINE int winstl__combobox_gettextlen (HWND hwnd, int index)
 Gets the text length of an item in a combo-box.
STLSOFT_INLINE int winstl__combobox_gettext_a (HWND hwnd, int index, char *s)
 Gets the text (in ANSI encoding) of an item in a combo-box.
STLSOFT_INLINE int winstl__combobox_gettext_w (HWND hwnd, int index, wchar_t *s)
 Gets the text (in Unicode encoding) of an item in a combo-box.
STLSOFT_INLINE int winstl__combobox_gettext (HWND hwnd, int index, LPCSTR s)
 Gets the text (in the ambient char-encoding) of an item in a combo-box.
STLSOFT_INLINE ws_dword_t winstl__combobox_getitemdata (HWND hwnd, int index)
 Gets the data value associated with an item in a combo-box.
STLSOFT_INLINE int winstl__combobox_getcount (HWND hwnd)
 Gets the number of items in a combo-box.
STLSOFT_INLINE int winstl__listbox_addstring_a (HWND hwnd, char const *s)
 Adds an ANSI string to a list-box.
STLSOFT_INLINE int winstl__listbox_addstring_w (HWND hwnd, wchar_t const *s)
 Adds a Unicode string to a list-box.
STLSOFT_INLINE int winstl__listbox_addstring (HWND hwnd, LPCTSTR s)
 Adds a string (in the ambient char-encoding) to a list-box.
STLSOFT_INLINE int winstl__listbox_insertstring_a (HWND hwnd, char const *s, int index)
 Inserts an ANSI string into a list-box at the given index.
STLSOFT_INLINE int winstl__listbox_insertstring_w (HWND hwnd, wchar_t const *s, int index)
 Inserts a Unicode string into a list-box at the given index.
STLSOFT_INLINE int winstl__listbox_insertstring (HWND hwnd, LPCTSTR s, int index)
 Inserts a string (in the ambient char-encoding) into a list-box at the given index.
STLSOFT_INLINE int winstl__listbox_gettextlen (HWND hwnd, int index)
 Gets the text length of an item in a list-box.
STLSOFT_INLINE int winstl__listbox_gettext_a (HWND hwnd, int index, char *s)
 Gets the text (in ANSI encoding) of an item in a list-box.
STLSOFT_INLINE int winstl__listbox_gettext_w (HWND hwnd, int index, wchar_t *s)
 Gets the text (in Unicode encoding) of an item in a list-box.
STLSOFT_INLINE int winstl__listbox_gettext (HWND hwnd, int index, LPCSTR s)
 Gets the text (in the ambient char-encoding) of an item in a list-box.
STLSOFT_INLINE ws_dword_t winstl__listbox_getitemdata (HWND hwnd, int index)
 Gets the data value associated with an item in a list-box.
STLSOFT_INLINE int winstl__listbox_getcount (HWND hwnd)
 Gets the number of items in a list-box.
STLSOFT_INLINE int winstl__edit_getcount (HWND hwnd)
 Gets the number of lines in an edit-box.
STLSOFT_INLINE int winstl__edit_linelength (HWND hwnd, int charIndex)
 Gets the length of the line in which the given character resides.
STLSOFT_INLINE int winstl__edit_getline_a (HWND hwnd, int lineIndex, char *buffer, size_t cchBuffer)
 Gets a copy of the text of the given line.
STLSOFT_INLINE int winstl__edit_getline_w (HWND hwnd, int lineIndex, wchar_t *buffer, size_t cchBuffer)
 Gets a copy of the text of the given line.
int combobox_addstring_a (HWND hwnd, char const *s)
 Adds an ANSI string to a combo-box.
int combobox_addstring_w (HWND hwnd, wchar_t const *s)
 Adds a Unicode string to a combo-box.
int combobox_addstring (HWND hwnd, char const *s)
 Adds a string to a combo-box.
int combobox_addstring (HWND hwnd, wchar_t const *s)
 Adds a string to a combo-box.
template<typename S>
int combobox_addstring (HWND hwnd, S const &s)
 Adds a string to a combo-box.
int combobox_insertstring_a (HWND hwnd, char const *s, int index)
 Inserts an ANSI string into a combo-box at the given index.
int combobox_insertstring_w (HWND hwnd, wchar_t const *s, int index)
 Inserts a Unicode string into a combo-box at the given index.
int combobox_insertstring (HWND hwnd, char const *s, int index)
 Inserts a string into a combo-box at the given index.
int combobox_insertstring (HWND hwnd, wchar_t const *s, int index)
 Inserts a string into a combo-box at the given index.
template<typename S>
int combobox_insertstring (HWND hwnd, S const &s, int index)
 Inserts a string into a combo-box at the given index.
int combobox_gettextlen (HWND hwnd, int index)
 Gets the text length of an item in a combo-box.
int combobox_gettext_a (HWND hwnd, int index, char *s)
 Gets the text (in ANSI encoding) of an item in a combo-box.
int combobox_gettext_w (HWND hwnd, int index, wchar_t *s)
 Gets the text (in Unicode encoding) of an item in a combo-box.
int combobox_gettext (HWND hwnd, int index, char *s)
 Gets the text of an item in a combo-box.
int combobox_gettext (HWND hwnd, int index, wchar_t *s)
 Gets the text (in Unicode encoding) of an item in a combo-box.
ws_dword_t combobox_getitemdata (HWND hwnd, int index)
 Gets the data value associated with an item in a combo-box.
int combobox_getcount (HWND hwnd)
 Gets the number of items in a combo-box.
int listbox_addstring_a (HWND hwnd, char const *s)
 Adds an ANSI string to a list-box.
int listbox_addstring_w (HWND hwnd, wchar_t const *s)
 Adds a Unicode string to a list-box.
int listbox_addstring (HWND hwnd, char const *s)
 Adds a string to a list-box.
int listbox_addstring (HWND hwnd, wchar_t const *s)
 Adds a string to a list-box.
template<typename S>
int listbox_addstring (HWND hwnd, S const &s)
 Adds a string to a list-box.
int listbox_insertstring_a (HWND hwnd, char const *s, int index)
 Inserts an ANSI string into a list-box at the given index.
int listbox_insertstring_w (HWND hwnd, wchar_t const *s, int index)
 Inserts a Unicode string into a list-box at the given index.
int listbox_insertstring (HWND hwnd, char const *s, int index)
 Inserts a string into a list-box at the given index.
int listbox_insertstring (HWND hwnd, wchar_t const *s, int index)
 Inserts a string into a list-box at the given index.
template<typename S>
int listbox_insertstring (HWND hwnd, S const &s, int index)
 Inserts a string into a list-box at the given index.
int listbox_gettextlen (HWND hwnd, int index)
 Gets the text length of an item in a list-box.
int listbox_gettext_a (HWND hwnd, int index, char *s)
 Gets the text (in ANSI encoding) of an item in a list-box.
int listbox_gettext_w (HWND hwnd, int index, wchar_t *s)
 Gets the text (in Unicode encoding) of an item in a list-box.
int listbox_gettext (HWND hwnd, int index, char *s)
 Gets the text of an item in a list-box.
int listbox_gettext (HWND hwnd, int index, wchar_t *s)
 Gets the text (in Unicode encoding) of an item in a list-box.
ws_dword_t listbox_getitemdata (HWND hwnd, int index)
 Gets the data value associated with an item in a list-box.
int listbox_getcount (HWND hwnd)
 Gets the number of items in a list-box.
int edit_getcount (HWND hwnd)
 Gets the number of lines in an edit-box.
int edit_linelength (HWND hwnd, int charIndex)
 Gets the length of the line in which the given character resides.
int edit_getline (HWND hwnd, int lineIndex, char *buffer, size_t cchBuffer)
 Gets a copy of the text of the given line.
int edit_getline (HWND hwnd, int lineIndex, wchar_t *buffer, size_t cchBuffer)
 Gets a copy of the text of the given line.


Generated on Thu Jun 10 08:57:56 2010 for STLSoft by  doxygen 1.5.6