[comp.windows.x.motif] selection box question

arm@sps.com (Annette Myjak) (09/18/90)

hopefully this is a rather simple question, although the answer eludes me
at the moment.

i have a selection box dialog that gets used over and over to allow the
user to select from a list of various things.  the first time the widget
is managed, nothing is selected in the list of items and nothing is
in the selection text window.  however, whenever my widget is managed again,
the previously selected item is still highlighted in the list and the
corresponding text is in the text window.

i want NOTHING initially selected each time this widget is managed.  
i can use

 XtSetArg(args, XmNtextString, 
	  XmStringCreateLtoR("", XmSTRING_DEFAULT_CHARSET);

to clear out the selection text window, but how do i unhighlight the item 
that was previously selected in the selection list window?  (or is there some
nifty function that takes care of both of these for me that i haven't
found yet?)


(note:  using Interactive Motif 1.0, X11R3 1.1)

thanks!

annette myjak
arm@sps.com