IMessageBox::Style

This nested class defines the data type used for styles of the IMessageBox class. The available styles are defined as static data members in IMessageBox. Objects of this Style class represent characteristics such as the push buttons and icon to be displayed on the message box, the modality of the message box, and whether the user is allowed to move the message box.

Unlike the style objects defined by classes derived from IWindow, you do not specify IMessageBox::Style objects when constructing an IMessageBox object. Instead you can use these styles with versions of the function IMessageBox::show.

AIX Considerations

The Open Class Library supplies the message catalog, ibmcl.msg. This catalog contains the button text for the strings Abort, Retry, Ignore and Enter, which is used with the IMessageBox::enterCancelButton, IMessageBox::retryCancelButton, and IMessageBox::abortRetryIgnoreButton styles. If you use these styles, the Open Class Library attempts to load the text strings for the buttons from the message catalog. If the message catalog entry for the button text cannot be found, the library uses the English words Abort, Retry, Ignore, and Enter in the Abort, Retry, Ignore, and Enter push buttons, respectively.


IMessageBox::Style - Member Functions and Data by Group


IMessageBox::Style - Inherited Member Functions and Data

Inherited Public Functions

IBitFlag

Inherited Public Data

Inherited Protected Functions

IBitFlag

Inherited Protected Data