XmNverticalScrollBar
XmNhorizonalScrollBar
XmNworkWindow
XmNmessageWindow
Once one of these values is set, it cannot be reset to NULL, although it can be reset to another widget. However,
XmMainWindowSetAreas() can be used to set the different areas to NULL. You should only use this routine
when you are doing the initial layout of your application; changing the major elements of the MainWindow while an
application is running would be quite disruptive.
You might notice that XmMainWindowSetAreas() does not have a parameter to specify the widget that is used as
the message area. There is, however, a resource to support the message area. The message area is important in most
applications, since it is typically the place where brief status and informational messages are displayed. The message
area can be implemented using different widgets, such as a read−only Text widget, a read−only ScrolledText object,
or a Label widget. Using a Label widget as the message area is quite simple and really doesn't require any explanation.
Chapter 14, Text Widgets, describes how to use a read−only text area for the message area in a MainWindow in
Section #soutputtext.
If you specify the XmNmessageWindow resource, the message area is positioned across the bottom of the
MainWindow. If you are not satisfied with how the MainWindow handles the layout of the message area, you can
make the message area widget a child of the work area manager widget and handle the layout yourself.
5.4 Using Resources
Resources specific ...