aswang
1.0
|
#include <Dialog.h>
Public Types | |
typedef std::map< unsigned long, window * > | childMap_type |
Public Member Functions | |
Dialog (unsigned long templateID=0, bool isModeless=true) | |
Dialog (window *p, unsigned long templateID=0, bool isModeless=true) | |
virtual | ~Dialog () |
virtual void | Create (int x, int y, int width, int height) |
virtual void | Create () |
virtual const _TCHAR * | GetClassName () const |
virtual LRESULT | OnFail (UINT msg, WPARAM wParam, LPARAM lParam) |
virtual LRESULT | OnClose () |
virtual LRESULT | OnInitDialog (HWND win, unsigned long param) |
HWND | GetItem (unsigned long id) |
AswangStr | GetItemText (unsigned long id, unsigned long maxLength=1024) |
void | SetItemText (unsigned long id, AswangStr txt) |
LRESULT | SendItemMessage (unsigned long id, unsigned long message, WPARAM wParam, LPARAM lParam) |
void | bind (window *childWindow, unsigned long id) |
HWND | operator[] (unsigned long id) |
Static Public Member Functions | |
static int | Loop () |
static bool | DispatchDialogMessage (MSG &msg) |
Protected Attributes | |
childMap_type | childMap |
typedef std::map<unsigned long,window *> aswang::Dialog::childMap_type |
aswang::Dialog::Dialog | ( | unsigned long | templateID = 0 , |
bool | isModeless = true |
||
) | [inline] |
aswang::Dialog::Dialog | ( | window * | p, |
unsigned long | templateID = 0 , |
||
bool | isModeless = true |
||
) | [inline] |
void aswang::Dialog::bind | ( | window * | childWindow, |
unsigned long | id | ||
) | [inline] |
void Dialog::Create | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) | [virtual] |
Reimplemented from aswang::window.
Definition at line 24 of file Dialog.cpp.
void Dialog::Create | ( | ) | [virtual] |
Definition at line 30 of file Dialog.cpp.
bool Dialog::DispatchDialogMessage | ( | MSG & | msg | ) | [static] |
Definition at line 108 of file Dialog.cpp.
virtual const _TCHAR* aswang::Dialog::GetClassName | ( | ) | const [inline, virtual] |
Implements aswang::window.
HWND Dialog::GetItem | ( | unsigned long | id | ) |
Definition at line 67 of file Dialog.cpp.
AswangStr Dialog::GetItemText | ( | unsigned long | id, |
unsigned long | maxLength = 1024 |
||
) |
Definition at line 73 of file Dialog.cpp.
int Dialog::Loop | ( | ) | [static] |
Reimplemented from aswang::window.
Definition at line 97 of file Dialog.cpp.
LRESULT Dialog::OnClose | ( | ) | [virtual] |
Reimplemented from aswang::window.
Definition at line 45 of file Dialog.cpp.
LRESULT Dialog::OnFail | ( | UINT | msg, |
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [virtual] |
Reimplemented from aswang::window.
Definition at line 41 of file Dialog.cpp.
LRESULT Dialog::OnInitDialog | ( | HWND | win, |
unsigned long | param | ||
) | [virtual] |
Reimplemented from aswang::window.
Definition at line 58 of file Dialog.cpp.
HWND Dialog::operator[] | ( | unsigned long | id | ) |
Definition at line 91 of file Dialog.cpp.
LRESULT Dialog::SendItemMessage | ( | unsigned long | id, |
unsigned long | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
Definition at line 87 of file Dialog.cpp.
void Dialog::SetItemText | ( | unsigned long | id, |
AswangStr | txt | ||
) |
Definition at line 83 of file Dialog.cpp.
childMap_type aswang::Dialog::childMap [protected] |