wx.MessageDialog Class Reference

Inheritance diagram for wx.MessageDialog:

wx.Dialog wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

 MessageDialog (Window parent, wxString msg, wxString caption, wx.WindowStyles style, Point pos)
 MessageDialog (Window parent, string msg, string caption, wx.WindowStyles style, Point pos)
 MessageDialog (Window parent, string msg, string caption, wx.WindowStyles style)
 MessageDialog (Window parent, string msg, string caption)
 MessageDialog (Window parent, string msg)
override ShowModalResult ShowModal ()

Static Public Member Functions

static ShowModalResult MessageBox (string msg, string caption, wx.WindowStyles style, Window parent, Point pos)
static ShowModalResult MessageBox (string msg, string caption, wx.WindowStyles style, Window parent)
static ShowModalResult MessageBox (string msg, string caption, wx.WindowStyles style)
static ShowModalResult MessageBox (string msg, string caption)
static ShowModalResult MessageBox (string msg)
static ShowModalResult ShowModal (Window parent, wxString msg, wxString caption, wx.WindowStyles style, Point pos)
static ShowModalResult ShowModal (Window parent, string msg, string caption, wx.WindowStyles style, Point pos)
static ShowModalResult ShowModal (Window parent, string msg, string caption, wx.WindowStyles style)
static ShowModalResult ShowModal (string msg, string caption, wx.WindowStyles style)


Detailed Description

This class represents a dialog that shows a single or multi-line message, with a choice of OK, Yes, No and Cancel buttons.

Constructor & Destructor Documentation

wx.MessageDialog.MessageDialog ( Window  parent,
string  msg 
)

Creates a message dialog.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.

wx.MessageDialog.MessageDialog ( Window  parent,
string  msg,
string  caption 
)

Creates a message dialog.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.

wx.MessageDialog.MessageDialog ( Window  parent,
string  msg,
string  caption,
wx.WindowStyles  style 
)

Creates a message dialog.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION

wx.MessageDialog.MessageDialog ( Window  parent,
string  msg,
string  caption,
wx.WindowStyles  style,
Point  pos 
)

Creates a message dialog.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
pos Dialog position. Currently ignored by wxWidgets implementation at least on Windows

wx.MessageDialog.MessageDialog ( Window  parent,
wxString  msg,
wxString  caption,
wx.WindowStyles  style,
Point  pos 
)

Creates a message dialog.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
pos Dialog position. Currently ignored by wxWidgets implementation at least on Windows


Member Function Documentation

static ShowModalResult wx.MessageDialog.MessageBox ( string  msg,
string  caption,
wx.WindowStyles  style,
Window  parent,
Point  pos 
) [static]

Displays a dialog with style wx.WindowStyles.DIALOG_OK.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
pos Dialog position. Currently ignored by wxWidgets implementation at least on Windows
Returns:

static ShowModalResult wx.MessageDialog.MessageBox ( string  msg,
string  caption,
wx.WindowStyles  style,
Window  parent 
) [static]

Displays a dialog with style wx.WindowStyles.DIALOG_OK.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
Returns:

static ShowModalResult wx.MessageDialog.MessageBox ( string  msg,
string  caption,
wx.WindowStyles  style 
) [static]

Displays a dialog with style wx.WindowStyles.DIALOG_OK.

Parameters:
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
Returns:

static ShowModalResult wx.MessageDialog.MessageBox ( string  msg,
string  caption 
) [static]

Displays a message dialog.

Parameters:
msg The text to be desplayed.
caption The caption that will be display in the dialog's window decorator.
Returns:

static ShowModalResult wx.MessageDialog.MessageBox ( string  msg  )  [static]

Displays a dialog with cation "Message" (or a translation of "Message") and style wx.WindowStyles.DIALOG_OK.

Parameters:
msg The text to be desplayed.
Returns:

static ShowModalResult wx.MessageDialog.ShowModal ( Window  parent,
wxString  msg,
wxString  caption,
wx.WindowStyles  style,
Point  pos 
) [static]

Shows a modal message dialog.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
pos Dialog position. Currently ignored by wxWidgets implementation at least on Windows
Returns:

static ShowModalResult wx.MessageDialog.ShowModal ( Window  parent,
string  msg,
string  caption,
wx.WindowStyles  style,
Point  pos 
) [static]

Shows a modal message dialog.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
pos Dialog position. Currently ignored by wxWidgets implementation at least on Windows
Returns:

static ShowModalResult wx.MessageDialog.ShowModal ( Window  parent,
string  msg,
string  caption,
wx.WindowStyles  style 
) [static]

Shows a modal message dialog.

Parameters:
parent the parent of the dialog. This may be null, but typically this is the window implementing the action that triggered the display action. This dialog will be (de-)iconified and closed together with its parent.
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
Returns:

static ShowModalResult wx.MessageDialog.ShowModal ( string  msg,
string  caption,
wx.WindowStyles  style 
) [static]

Shows a modal message dialog.

Parameters:
msg The text message that will be displayed in the dialog.
caption The caption of the dialog that will be displayed in the decorator of the dialog window.
style Typically defines icons and buttons of the dialog like WindowStyles.DIALOG_OK | WindowStyles.ICON_INFORMATION
Returns:

override ShowModalResult wx.MessageDialog.ShowModal (  )  [virtual]

Shows the dialog, returning one of wx.ShowModalResult.

Reimplemented from wx.Dialog.


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads