#include <wg_messagebox.h>
Inheritance diagram for wGui::CMessageBox:

Definition at line 36 of file wg_messagebox.h.
| wGui::CMessageBox::CMessageBox | ( | CView * | pParent, | |
| CFontEngine * | pFontEngine, | |||
| const std::wstring & | sTitle, | |||
| const std::wstring & | sMessage, | |||
| int | iButtons = BUTTON_OK | |||
| ) |
| pParent | A pointer to the parent view | |
| pFontEngine | A pointer to the font engine to use when drawing the control If this is set to 0 it will use the default font engine specified by the CApplication (which must be set before instantiating this object) | |
| sTitle | The window title, which will appear in the title bar of the view | |
| sMessage | The message to display in the message box | |
| iButtons | A flag field to indicate which buttons to display in the message box, defaults to a single OK button |
Definition at line 31 of file wg_messagebox.cpp.
References FitToText(), m_ButtonMap, and m_pMessageLabel.
| bool wGui::CMessageBox::HandleMessage | ( | CMessage * | pMessage | ) | [virtual] |
CScrollBars handle MOUSE_BUTTONDOWN and MOUSE_BUTTONUP messages
| pMessage | A pointer to the message |
Reimplemented from wGui::CFrame.
Definition at line 76 of file wg_messagebox.cpp.
References wGui::CFrame::CloseFrame(), wGui::CMessage::CTRL_MESSAGEBOXRETURN, wGui::CMessage::CTRL_SINGLELCLICK, wGui::CMessage::Destination(), wGui::CFrame::HandleMessage(), wGui::CMessageServer::Instance(), m_ButtonMap, wGui::CWindow::m_pParentWindow, wGui::CMessage::MessageType(), wGui::CMessageServer::QueueMessage(), and wGui::CMessage::Source().
1.5.1