PyCWnd.MessageBox

MessageBox(message, title, style)

Display a message box.

Parameters

message : string

The message to be displayed in the message box.

title=None : string/None

The title for the message box. If None, the applications title will be used.

style=win32con.MB_OK : int

The style of the message box.

MFC References

CWnd::MessageBox

Return Value

An integer identifying the button pressed to dismiss the dialog.