Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!mct-1.UUCP!thurk From: thurk@mct-1.UUCP (Dan Thurk) Newsgroups: comp.windows.x.motif Subject: List Double Click Selection Message-ID: <9105231357.AA03521@mct-1.com> Date: 23 May 91 13:57:21 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 25 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