This example program demonstrates how to create a progress bar.
To create the progress bar you will need to derive an object from
UI_WINDOW_OBJECT.  You will need an Event function to trap for
messages to update the progress bar and a DrawItem to draw the bar.
