Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!jarthur!uunet!ibism!ibism.UUCP!lcp From: lcp@ibism.UUCP (Larry Poleshuck) Newsgroups: comp.windows.x.motif Subject: Re: XmSelectionDialog, Motif 1.1 (VMS) Message-ID: <12082@ibism.uucp> Date: 15 Nov 90 16:23:30 GMT References: <12079@ibism.uucp> Sender: news@ibism.uucp Reply-To: ibism!lcp Organization: Citibank IBISM Lines: 28 In article <12079@ibism.uucp>, lcp@ibism.UUCP (Larry Poleshuck) writes: > We are having a problem with Motif 1.1 on VMS. (yes, VMS). We have a > XmSelectionDialog. We add a few items to the scroll list in the selection box. > Then we delete ALL using XmListDeleteAllItems() and then add new items to the > list. We get access violations (ie segment violation) when we move the cursor > and cause a focus event. We have tried calling XmListDeselectAllItems before > the deletion, on the assumption that we still had something selected from > the previous list. > > Has anyone seen this problem. Is it a bug or a mis-reading of the use of > the widget? > > -- A work-around to this bug is to delete the list items one at a time, rather than deleteAll. When we do that, the access violations disappear. -- Larry Poleshuck Citibank 111 Wall Street New York, NY 10043 Phone: 212-657-7709 Fax: 212-657-0068 E-Mail: uunet!ibism!lcp