[comp.windows.x.motif] XmScrolledWindow workwindow Switch Botches ScrollBars

mkp@mti.mti.com (Michael K. Peterson) (08/31/90)

I am having problems getting a ScrolledWindow to work properly
when changing its workwindow.  When the workwindow is set with
XmScrolledWindowSetAreas(...), the new widget is displayed, but if
this new widget is larger than the previously displayed widget,
the scrollbars go through a very annoying "quick shrinkage", followed
by their disappearance.

What is the proper way to switch workwindows and preserve the sanity
of the scrollbars?