|
|
|
MessageBox message
(MessageBox message caption style pos)
Operation to show a dialog with a short message text and one or more buttons, depending on the style.
message is the MessageBox text.
caption is the window title text.
style may be a bit list of the following identifiers:
wxYES_NO Puts Yes and No buttons on the message box. May be combined with wxCANCEL.
wxCANCEL Puts a Cancel button on the message box. May be combined with wxYES_NO or wxOK.
wxOK Puts an Ok button on the message box. May be combined with wxCANCEL.
wxICON_EXCLAMATION Displays an exclamation mark symbol.
wxICON_HAND Displays an error symbol.
wxICON_ERROR Displays an error symbol - the same as wxICON_HAND.
wxICON_QUESTION Displays a question mark symbol.
wxICON_INFORMATION Displays an information symbol.
pos is a list of two integer numbers representing x and y position.
Output is one of the constants wxYES wxNO wxCANCEL wxOK.
Examples:
show MessageBox [This is a Message] show (MessageBox [This is a Message][A Caption] wxYes_No+wxCancel [400 200]) |
|
|
|