How Do I...
You've added user-interface parts to the window for
AlarmClockView. Now add a Message Prompter part to get a
message box when the alarm clock "rings."
Adding the part
To add a Message Prompter part:
- Select
(Prompters category) and
(Message Prompter part).
- Click on the free-form surface.
The Composition Editor now displays:

Changing the settings
Now, customize the part by changing its settings:
- Double-click on the Message Prompter part to open its settings view
window.
- For iconType, select a type that beeps when the message box is
displayed, such as XmICONWARNING.
- In the Title field, type a title such as:
Get Moving!
- Don't add a messageString, because the user will specify
the message in the Alarm Clock application.
- For buttonType select XmOK, because the message box
only needs one button on it.
- Select OK.
[ Top of Page | Previous Page | Next Page | Table of Contents ]