# Message Boxes

Message boxes are modal dialogs whose appearance is predefined by the MS Windows or MOTIF toolkits. Their purpose is to present a message to the user requiring only acknowledgment, or to ask a question with a simple “Yes / No” or “Yes / No / Cancel” response. Alert boxes are not created from the dialog box editor, but from the SIMDRAW main window. Using the ‘Edit/Properties...’ options from the main window’s menu bar, you can define the following attributes of the message dialog:

Title - Text displayed in the dialog’s header bar..

Library Name - Name used to load the dialog into your program.

Message Text - Type the message you want displayed here. Any number of lines of text can be used in the message.

Style - This radio box determines which icon will be placed onto the alert box.

Responses - Determines the set of buttons on the dialog for user responses.

Default Button - Button that is activated when the user presses <Enter>.