aswang  1.0
Public Member Functions
aswang::ListBox Class Reference

#include <ListBox.h>

+ Inheritance diagram for aswang::ListBox:

List of all members.

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

Detailed Description

Definition at line 24 of file ListBox.h.


Constructor & Destructor Documentation

aswang::ListBox::ListBox ( HWND  h,
window p = NULL 
) [inline]

Definition at line 26 of file ListBox.h.

aswang::ListBox::ListBox ( window p,
unsigned long  newStyle = WS_CHILD|LBS_STANDARD|LBS_DISABLENOSCROLL 
) [inline]

Definition at line 27 of file ListBox.h.

virtual aswang::ListBox::~ListBox ( ) [inline, virtual]

Definition at line 28 of file ListBox.h.


Member Function Documentation

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.

Definition at line 48 of file ListBox.h.

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.


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