For some applications, you'll want to display a message box to inform the user of something that has or might occur.
Adding a message box
To add a message box to your application:
Changing the settings for the message box
Define what the message box displays by changing its settings:
Connecting the message box to other parts
After you define a message box, you make an event-to-action connection so the message box displays when the event occurs.
Connect the event, such as clicked for a push button, to the prompt action of the Message Box part.