Hi,

I have some troubles by using Scrolled Window.
I define the following Scrolled window and try to get the associated
scrollbar widget so as to set the slider value :
/*********************************/
ScrollW = XtVaCreateWidget("",
xmScrolledWindowWidgetClass,
Parent,
XmNscrollingPolicy,
XmAPPLICATION_DEFINED,
XmNscrollBarDisplayPolicy,
XmSTATIC, /* should allways displayed the scrollbar ? */
NULL);

XtManageChild(ScrollW);
XtVaGetValues(ScrollW,XmNverticalScrollBar,&w,NULL);
/*********************************/
Then w is equal to NULL

if XmNscrollingPolicy is set to XmAUTOMATIC, w is not NULL.

Is there an error in my Motif understanding ?

Thanks a lot for your help.