Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!meaddata!sharonc From: sharonc@meaddata.com (Sharon Crichton) Newsgroups: comp.windows.x.motif Subject: Can I turn off list selection? Message-ID: <2610@meaddata.meaddata.com> Date: 28 Jan 91 19:59:32 GMT Sender: usenet@meaddata.com Reply-To: sharonc%meaddata@uunet.uu.net Organization: Mead Data Central, Dayton OH Lines: 25 Hello all. I have a situation where I need to display a list of items but just for informational purposes. Users cannot do anything with the items in the list, so I would like to turn off selection. I have tried to fake it out with a scrollable text widget (I need both horizontal and vertical scrolling) by setting all of the resource values (i.e. XmNeditable to false, XmNcursorPositionVisible to false, etc.) But that still did not prevent me from dragging my mouse over the text and having it highlighted. Even though nothing can be done with the text once it is highlighted. So what I would like to do is set the XmNselectionPolicy on my list widget to something like NULL, so that the users cannot select items. If that's not possible, I'd like to know how I can turn off mouse selection/highlighting on a text widget. I'm currently using Motif 1.1 under X11/R4. Thanks in advance to all who would offer help! Sharon Crichton CDS Systems Evolution sharonc@meaddata.com Mead Data Central sharonc%meaddata@uunet.uu.net P.O. Box 933 Dayton, OH 45401 Quoth the Raven, "Eat my shorts!"