|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/combobex.h>
Public Member Functions | |
| TComboBoxExData () | |
| ~TComboBoxExData () | |
| int | AddItem (const TComboBoxExItem &item) |
| int | DeleteItem (int index) |
| TComboBoxExItem & | GetItem (int index) |
| void | Clear () |
| uint | Size () |
| void | Select (int index) |
| Selects an item at a given index. | |
| void | SelectString (LPCTSTR str) |
| Selects "str", marking the matching String entry (if any) as selected. | |
| void | SelectString (const tstring &str) |
| tstring & | GetSelection () |
| const tstring & | GetSelection () const |
| int | GetSelIndex () const |
| int | GetSelCount () const |
| void | ResetSelections () |
| int | GetSelStringLength () const |
| Returns the length of the selection string excluding the terminating 0. | |
| void | GetSelString (TCHAR *buffer, int bufferSize) const |
| Copies the selected string into Buffer. BufferSize includes the terminating 0. | |
| const tstring & | GetSelString () const |
Protected Attributes | |
| TComboBoxExItemArray * | Items |
| tstring | Selection |
| int | SelIndex |
Definition at line 162 of file combobex.h.
| owl::TComboBoxExData::TComboBoxExData | ( | ) |
Definition at line 380 of file combobex.cpp.
References Items.
| owl::TComboBoxExData::~TComboBoxExData | ( | ) |
Definition at line 391 of file combobex.cpp.
References Items.
| int owl::TComboBoxExData::AddItem | ( | const TComboBoxExItem & | item | ) |
Definition at line 409 of file combobex.cpp.
References Items.
| void owl::TComboBoxExData::Clear | ( | ) |
Definition at line 428 of file combobex.cpp.
References Items.
Definition at line 400 of file combobex.cpp.
References Items.
| TComboBoxExItem & owl::TComboBoxExData::GetItem | ( | int | index | ) |
Definition at line 418 of file combobex.cpp.
References Items, and PRECONDITION.
|
inline |
Definition at line 302 of file combobex.h.
References SelIndex.
|
inline |
Definition at line 293 of file combobex.h.
References Selection.
|
inline |
Definition at line 297 of file combobex.h.
References Selection.
|
inline |
Definition at line 288 of file combobex.h.
References SelIndex.
|
inline |
Definition at line 185 of file combobex.h.
Copies the selected string into Buffer. BufferSize includes the terminating 0.
Definition at line 445 of file combobex.cpp.
|
inline |
Returns the length of the selection string excluding the terminating 0.
Definition at line 315 of file combobex.h.
References Selection.
|
inline |
Definition at line 307 of file combobex.h.
Selects an item at a given index.
Definition at line 282 of file combobex.h.
References GetItem(), Selection, SelIndex, and owl::TComboBoxExItem::Text.
Definition at line 176 of file combobex.h.
References SelectString().
| uint owl::TComboBoxExData::Size | ( | ) |
Definition at line 437 of file combobex.cpp.
References Items.
|
protected |
Definition at line 188 of file combobex.h.
|
protected |
Definition at line 189 of file combobex.h.
|
protected |
Definition at line 190 of file combobex.h.