Suppose you want to add a message box to AlarmClockView. To do so, you open a Composition Editor on AlarmClockView, add a Message Prompter part, and connect it to other parts in AlarmClockView.
Adding the part
To add a Message Prompter part:
The Composition Editor now displays:
Changing the settings
Now, customize the part by changing its settings:
Get Moving!
Connecting the message box to a push button
Finally, connect an event in the main window for AlarmClockView to the prompt action of the Message Box part. For example, connect the clicked event for the Set Alarm push button, to the prompt action of the Message Box part.
Testing the connection
To display the message box from the Alarm Clock window: