SkyGI::MessageBox Class Reference

Inheritance diagram for SkyGI::MessageBox:
[legend]
Collaboration diagram for SkyGI::MessageBox:
[legend]
List of all members.

Public Member Functions

 MessageBox (const String &szTitle, const String &szText, unsigned int uiFlags=MESSAGEBOX_FLAG_OK,...)
 MessageBox (const String &szTitle, const String &szText, Image *pImage, unsigned int uiFlags=MESSAGEBOX_FLAG_OK,...)
virtual void OnCommand (const MessageCommand *pMessage)
virtual void Instance ()
MessageBoxViewGetView ()
virtual void SetFocus (int iCommandID)

Detailed Description

Examples:

listview.cpp, messagebox.cpp, and textview.cpp.


Constructor & Destructor Documentation

MessageBox::MessageBox ( const String szTitle,
const String szText,
unsigned int  uiFlags = MESSAGEBOX_FLAG_OK,
  ... 
)

MessageBox::MessageBox ( const String szTitle,
const String szText,
Image pImage,
unsigned int  uiFlags = MESSAGEBOX_FLAG_OK,
  ... 
)


Member Function Documentation

void MessageBox::OnCommand ( const MessageCommand pMessage  )  [virtual]

Called when a command occured

Description:
Gets called whenever a window for which this window is the target post a command. For instance, when you press a Button the virtual Button::OnClicked method gets called. If not overloaded this OnClicked function will post a MSG_COMMAND to buttons window target. This message will then be processed by the target window which calls this OnCommand method.

Reimplemented from SkyGI::Window.

void MessageBox::Instance (  )  [virtual]

Reimplemented from SkyGI::Dialog.

MessageBoxView * MessageBox::GetView (  ) 

Get the associated View

Description:
Get the View associated with the FrameWindow. A View was either set with AttachView or implicity created by the FrameWindows constructor
Returns:
The View associated with the FrameWindow or NULL if no View is present

Reimplemented from SkyGI::FrameWindow.

void MessageBox::SetFocus ( int  iCommandID  )  [virtual]


Generated on Thu Dec 13 18:14:34 2007 for SkyGI by  doxygen 1.5.1-p1