dcj@AUSTIN.LOCKHEED.COM (David Jacobson rimux) (06/11/91)
Hi!
I'm having some trouble understanding the xmScrolledWindowWidget
under Motif 1.1, X11R4.
What I want is a scrolled window with ONLY a vertical scroll bar
and a work area (which is a Form widget) sensitive to horizontal
resizes from the parent Dialog. My approach was to manage my own
vert Scroll Bar and set the following resources on the Scrolled
Window:
XtSetArg(args[n],XmNscrollingPolicy,XmAPPLICATION_DEFINED);n++;
XtSetArg(args[n],XmNverticalScrollBar,vscrollbar);n++;
My only problem is I have no idea on how to associate the Callbacks
the Scrolled Window uses to scroll it's clipping area with my
own Scroll Bar's Callbacks. Is this the correct approach? Has
anybody done this before?
David C. Jacobson
____________________________________ _______________________________________
. | David C. Jacobson
=========___/ \___ Lockheed | (512) 386-4267
=======`/ . \' Austin Division | INTERNET:
===/' `\ (LAD) | dcj@austin.lockheed.com
____________________________________|_______________________________________
`Nothing of what I say has anything to do with anybody in any way.'