Purpose: Users interact with message boxes through command buttons.
Types: The buttons included depend on why the message box appears.
Examples:
For messages needing acknowledgment, use an “OK” button.
For choices, have a button for each option.
Use “OK” and “Cancel” when the user can continue or stop an action.
Use “Yes” and “No” for decisions on how to proceed.
If buttons are unclear, label them with specific actions like “Save” and “Delete.”
2. Close box :
When to Enable: Only enable the close box in the title bar if the message has a “Cancel” button.
Explanation: The close box allows users to dismiss the message box. If there’s a “Cancel” option, it makes sense to let users close the box without choosing other options.