Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ucbvax!pasteur!dog.ee.lbl.gov!nosc!ucsd!mvb.saic.com!ncr-sd!iss-rb!ivory.SanDiego.NCR.COM!jabir From: jabir@ivory.SanDiego.NCR.COM (Jabir Hussien) Newsgroups: comp.windows.x Subject: Application controlled extended selection in Motif 1.0 Message-ID: <1991Mar15.203950.17647@SanDiego.NCR.COM> Date: 15 Mar 91 20:39:50 GMT Sender: @SanDiego.NCR.COM Reply-To: jabir@ivory.SanDiego.NCR.COM (Jabir Hussien) Distribution: na Organization: NCR Corporation, Rancho Bernardo Lines: 19 Hello, I am not sure if this is the right group for Motif questions. If there is a more specific group, please let me know. Thanks. Anyway, I can not find any way to do extended (multiple, discontiguous) selections in a XmList widget from application code. XmListSelectPos/Item() always deselect previously selected items, and XmListSetAddMode() does not seem to be available in release 1.0. The only way appears to be to get currently selected items using XtGetValues() and then use XtSetValues() with the updated list? (I tried cheating by setting AppendInProgress from , but that didn't help...) Am I missing some obvious way here? Thanks in advance...