aswang
1.0
|
#include <ListBox.h>
Public Member Functions | |
ListBox (HWND h, window *p=NULL) | |
ListBox (window *p, unsigned long newStyle=WS_CHILD|LBS_STANDARD|LBS_DISABLENOSCROLL) | |
virtual | ~ListBox () |
virtual long | AddString (AswangStr s) const |
virtual long | AddUniqueString (AswangStr s) const |
virtual long | FindPrefix (AswangStr s, long index=-1) const |
virtual long | FindString (AswangStr s, long index=-1) const |
virtual long | Count () const |
virtual AswangStr | GetSelectedString () const |
virtual long | GetSelectedIndex () const |
virtual void | SetSelectedIndex (long index) const |
virtual AswangStr | GetString (long index) const |
virtual long | GetStringLength (long index) const |
virtual void | DeleteString (long index) const |
virtual void | Clear () const |
virtual long | InsertString (AswangStr s, long index) const |
virtual long | InsertUniqueString (AswangStr s, long index) const |
virtual long | GetItemData (long index) const |
virtual void | SetItemData (long index, long data) const |
virtual long | operator[] (long index) const |
virtual const _TCHAR * | GetClassName () const |
aswang::ListBox::ListBox | ( | HWND | h, |
window * | p = NULL |
||
) | [inline] |
aswang::ListBox::ListBox | ( | window * | p, |
unsigned long | newStyle = WS_CHILD|LBS_STANDARD|LBS_DISABLENOSCROLL |
||
) | [inline] |
long ListBox::AddString | ( | AswangStr | s | ) | const [virtual] |
Definition at line 24 of file ListBox.cpp.
long ListBox::AddUniqueString | ( | AswangStr | s | ) | const [virtual] |
Definition at line 31 of file ListBox.cpp.
void ListBox::Clear | ( | ) | const [virtual] |
Definition at line 130 of file ListBox.cpp.
long ListBox::Count | ( | ) | const [virtual] |
Definition at line 72 of file ListBox.cpp.
void ListBox::DeleteString | ( | long | index | ) | const [virtual] |
Definition at line 124 of file ListBox.cpp.
long ListBox::FindPrefix | ( | AswangStr | s, |
long | index = -1 |
||
) | const [virtual] |
Definition at line 54 of file ListBox.cpp.
long ListBox::FindString | ( | AswangStr | s, |
long | index = -1 |
||
) | const [virtual] |
Definition at line 63 of file ListBox.cpp.
virtual const _TCHAR* aswang::ListBox::GetClassName | ( | ) | const [inline, virtual] |
Implements aswang::window.
long ListBox::GetItemData | ( | long | index | ) | const [virtual] |
Definition at line 135 of file ListBox.cpp.
long ListBox::GetSelectedIndex | ( | ) | const [virtual] |
Definition at line 89 of file ListBox.cpp.
AswangStr ListBox::GetSelectedString | ( | ) | const [virtual] |
Definition at line 79 of file ListBox.cpp.
AswangStr ListBox::GetString | ( | long | index | ) | const [virtual] |
Definition at line 108 of file ListBox.cpp.
long ListBox::GetStringLength | ( | long | index | ) | const [virtual] |
Definition at line 102 of file ListBox.cpp.
long ListBox::InsertString | ( | AswangStr | s, |
long | index | ||
) | const [virtual] |
Definition at line 39 of file ListBox.cpp.
long ListBox::InsertUniqueString | ( | AswangStr | s, |
long | index | ||
) | const [virtual] |
Definition at line 46 of file ListBox.cpp.
long ListBox::operator[] | ( | long | index | ) | const [virtual] |
Definition at line 148 of file ListBox.cpp.
void ListBox::SetItemData | ( | long | index, |
long | data | ||
) | const [virtual] |
Definition at line 142 of file ListBox.cpp.
void ListBox::SetSelectedIndex | ( | long | index | ) | const [virtual] |
Definition at line 96 of file ListBox.cpp.