thurk@mct-1.UUCP (Dan Thurk) (05/23/91)
In my callback routine for a selection box OK button, I need to determine if the callback value is selected from the list or is a new entry. I get the XmNselectedItemCount from the list widget child of the selection box. If this is not zero, I then get the XmNselectedItems string table from the list widget. I use XtSetArg and XtGetValues to retrieve these values. Everything works fine if the item is clicked to select it, and then I click on the OK button to activate the callback. However, when I simply double-click on an item in the list, XmNselectedItemCount is zero. Why isn't a list item placed into the selected item table when double-clicked on? We use X11R3, motif 1.0, Interactive Unix 2.02. Please send responses to: Dan Thurk Micro Component Technology uunet!mct-1.com!thurk (612) 482-5356