Class MessageBoxSense To print a messagebox. More...
#include <SDK_Manila_Sense.h>
Public Member Functions | |
~MessageBoxSense () | |
virtual void | loadSurf () |
load (or reload) surfaces | |
void | updateFrame (DIRECTDRAW_GDI *screen) |
Use this method to redraw message box (used internally). | |
Static Public Member Functions | |
static int | show (wstring title, wstring message, int type) |
Use this method to show a message box. | |
Public Attributes | |
HWND | hWnd |
Handle of messageBox. |
Class MessageBoxSense To print a messagebox.
Four type of messagebox: info, Ok/Cancel, Abort/Retry and Yes/No.
Definition at line 1712 of file SDK_Manila_Sense.h.
MessageBoxSense::~MessageBoxSense | ( | ) |
Definition at line 163 of file MessageBoxSense.cpp.
void MessageBoxSense::loadSurf | ( | ) | [virtual] |
load (or reload) surfaces
Definition at line 12 of file MessageBoxSense.cpp.
int MessageBoxSense::show | ( | wstring | title, | |
wstring | message, | |||
int | type | |||
) | [static] |
Use this method to show a message box.
Be careful : if used alone, set the name of your application using GlobalInformations::setName(L"MyName") BEFORE using this method !
title | Title of message box | |
message | Message printed | |
type | one of these values : MESSAGE_ALERT, MESSAGE_YESNO, MESSAGE_OKCANCEL or MESSAGE_ABORTRETRY |
Definition at line 268 of file MessageBoxSense.cpp.
void MessageBoxSense::updateFrame | ( | DIRECTDRAW_GDI * | screen | ) |
Use this method to redraw message box (used internally).
screen | surface to print the message box. |
Definition at line 370 of file MessageBoxSense.cpp.
Handle of messageBox.
Definition at line 1741 of file SDK_Manila_Sense.h.