Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!RUDEDOG.SAIC.COM!sdk From: sdk@RUDEDOG.SAIC.COM (Scott D. Kessler) Newsgroups: comp.windows.x.motif Subject: Freeing XmStrings???? Message-ID: <9106192231.AA00290@rudedog.saic.com> Date: 19 Jun 91 22:31:08 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 21 I'm not clear on when an XmString should/shouldn't be freed. For example: When filling a list that was previously empty I create a string with XmStringCreate and then add it to the list. Do I then need to free the created string or will this free the string stored in the list? Also, I'm having scrolled lists that randomly don't appear! That is to say that one time the full list will appear with the scrollbar and the next time it will appear only as a postage stamp size box with no scroll bar or anything. Yet if I click in that little box the items are still there because I can select the very first one. Anyone seen anything like this before? On the same note i'm also experiencing random window growths. Out of the blue a FormDialog will suddenly grow to twice it's size!! Thanks for any help in advance!! Scott sdk@rudedog.saic.com