Public Types | |
| enum | Buttons |
| Enums for which buttons you want the MessageBox to have. | |
| enum | Icon |
| Enums for which ICON you want the MessageBox to have. | |
| typedef WidgetMessageBox< Parent > | ObjectType |
| Object type. | |
| enum | RetVal |
| Enums for Return Value that the MessageBox::show can return. | |
|
typedef WidgetMessageBox< Parent > | ThisType |
| Class type. | |
Public Member Functions | |
| RetVal | show (const SmartUtil::tstring &body, const SmartUtil::tstring &header=_T("SmartWinMessageBox"), Buttons buttons=BOX_OK, Icon icon=BOX_ICONINFORMATION) |
| Shows the actual MessageBox. | |
| typedef WidgetMessageBox< Parent > ObjectType |
Object type.
Note, not a pointer!!!!
| WidgetMessageBox< Parent >::RetVal show | ( | const SmartUtil::tstring & | body, | |
| const SmartUtil::tstring & | header = _T("SmartWinMessageBox"), |
|||
| Buttons | buttons = BOX_OK, |
|||
| Icon | icon = BOX_ICONINFORMATION | |||
| ) |
Shows the actual MessageBox.
First parameter is the body shown inside the Message Box.
Second parameter is the HEADER of the Message Box ( the text shown in the blue line, optional parameter )
Third parameter is the Buttons you want the Message Box to have ( optional parameter )
Fourth parameter is the Icon you want the Message Box to display ( normally in the upper left corner )