sprint 1-alpha
Public Member Functions | Static Public Member Functions
sprint::gtl::ComboBox Class Reference

#include <ComboBox.h>

Inherits sprint::gtl::CWindow.

List of all members.

Public Member Functions

 ComboBox (HWND hWnd=NULL)
 ComboBox (CWindow hWnd)
void AddStrings (const TCHAR **list)
 Add multiple strings to ComboBox.
int FindItemDataEx (DWORD dwData) const
int GetCount () const
int GetCurSel () const
int SetCurSel (int nSelect)
LCID GetLocale () const
LCID SetLocale (LCID nNewLocale)
int GetTopIndex () const
int SetTopIndex (int nIndex)
UINT GetHorizontalExtent () const
void SetHorizontalExtent (UINT nExtent)
int GetDroppedWidth () const
int SetDroppedWidth (UINT nWidth)
DWORD GetEditSel () const
BOOL SetEditSel (int nStartChar, int nEndChar)
DWORD_PTR GetItemData (int nIndex) const
int SetItemData (int nIndex, DWORD_PTR dwItemData)
void * GetItemDataPtr (int nIndex) const
int SetItemDataPtr (int nIndex, void *pData)
int GetLBText (int nIndex, LPTSTR lpszText) const
int GetLBTextLen (int nIndex) const
int GetItemHeight (int nIndex) const
int SetItemHeight (int nIndex, UINT cyItemHeight)
BOOL GetExtendedUI () const
int SetExtendedUI (BOOL bExtended=TRUE)
void GetDroppedControlRect (LPRECT lprect) const
BOOL GetDroppedState () const
int InitStorage (int nItems, UINT nBytes)
void ResetContent ()
 Clear all strings.
BOOL LimitText (int nMaxChars)
void ShowDropDown (BOOL bShowIt=TRUE)
int AddString (LPCTSTR lpszString)
int DeleteString (UINT nIndex)
 remove the n-th string item
int InsertString (int nIndex, LPCTSTR lpszString)
 Insert a string in a nIndex.
int Dir (UINT attr, LPCTSTR lpszWildCard)
int FindString (int nStartAfter, LPCTSTR lpszString) const
int FindStringExact (int nIndexStart, LPCTSTR lpszFind) const
int SelectString (int nStartAfter, LPCTSTR lpszString)
void Clear ()
 Clear Clipboard.
void Copy ()
 Copy to ClipBoard.
void Cut ()
 Cut to clipboard.
void Paste ()
 Past from clipboard.

Static Public Member Functions

static LPCSTR GetWndClassName ()

Detailed Description

ComboBox control


Constructor & Destructor Documentation

sprint::gtl::ComboBox::ComboBox ( HWND  hWnd = NULL)
 sprint::ComboBox cb(GetDlgItem(hwnd, IDC_LIST));

Member Function Documentation

int sprint::gtl::ComboBox::AddString ( LPCTSTR  lpszString)

manipulating listbox items

 cb.AddString(_T("Linear Stretch"));

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