Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Properties

g_strRegSectionName Default registry section name to store the information about the pressed button in the previous displayed message box.
m_bmpIcon Image to be used as the message box icon.

Classes

CaptionGet Returns the caption text.
CaptionSet Sets the caption text.
~CExtMsgBox Destructor.
CExtMsgBox Constructors.
DoMsgBox Displays a modal message box dialog and returns the message box result when done.
IsDisabledTimeout Returns true if the buttons in the message box are disabled during the timeout; enabled otherwise.
MessageGet Returns the message text.
MessageSet Sets the message text.
MsgBoxStyleExGet Returns the extended styles applied to the message box.
MsgBoxStyleExSet Applies the extended styles to the message box.
MsgBoxStyleGet Returns the basic styles applied to the message box.
MsgBoxStyleSet Applies the basic styles to the message box.
RegisterButton Adds the button control to the message box.
ResetAllMsgBoxes Clears the system registry variables with the saved state of all message boxes displayed by the process.
ResetMsgBox Clears the system registry variables with the saved state of the message box.
TimeoutGet Returns the timeout in seconds of the message box and if its buttons are disabled during the timeout. A zero value means the timeout is not used.
TimeoutSet Sets the message box timeout in seconds and optionally disables the buttons of the message box during the timeout.
UnRegisterAllButtons Removes all buttons from the message box.

Overridables

OnMsgBoxCopyToClipboard Invoked when the user clicks the Copy button or presses Ctrl+C or Ctrl+Insert to copy the message text into clipboard. The method returns true if succeeded or false otherwise.
OnMsgBoxCreateButtons Invoked when all button windows in the message box are created. The method returns true if succeeded or false otherwise.
OnMsgBoxCreateCheckBox Invoked when the check box window in the message box is created. The method returns true if succeeded or false otherwise.
OnMsgBoxCreateIconLabel Invoked to create the icon window in the message box is created. The method returns true if succeeded or false otherwise.
OnMsgBoxCreateMessageLabel Invoked when the label window or the edit window for the message text in the message box is created. The method returns true if succeeded or false otherwise.
OnMsgBoxGetRegVarName Returns the registry variable name which is used for saving the message box state.
OnMsgBoxHelp Invoked when the Help button was clicked or F1 was pressed. The default implementation invokes the CWnd::OnHelp() method.
OnMsgBoxLayout Invoked to position all windows in the message box.
OnMsgBoxRegisterButtons Invoked to register the buttons in the message box.
OnMsgBoxTimeoutDecrease Invoked to decrease the timeout by one second. The method returns true if the timeout is expired or false otherwise.

See Also

CExtMsgBox Overview | Hierarchy Chart