Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "170) What widget does the XmScrolledWindow use for its clip window?"
Next document is "172) TOPIC: MENUS"
171) How do I create a scrolled window with only one scrollbar?
[Last modified: July 95]
Answer: If you're using the default application-defined scrolling mode, you
can just create one and specify NULL for the other. If, however, you're using
automatic scrolling, retrieve the ID of the unwanted scrollbar with
XmNhorizontalScrollBar or XmNverticalScrollBar and unmanage that widget:
Widget hScroll;
XtVaGetValues(scrollbar, XmNhorizontalScrollBar, &hScroll, NULL);
XtUnmanageChild(hScroll);
Thanks to Ken Lee, http://www.rahul.net/kenton/. Typo corrected by Paul
Tomblin, ptomblin@canoe.com.
Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "170) What widget does the XmScrolledWindow use for its clip window?"
Next document is "172) TOPIC: MENUS"