Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!HARVARD.HARVARD.EDU!kochhar From: kochhar@HARVARD.HARVARD.EDU Newsgroups: comp.windows.x Subject: Re: DialogWidget problems Message-ID: <8908100321.AA27216@expo.lcs.mit.edu> Date: 9 Aug 89 22:23:17 GMT References: <8908080047.AA15437@expo.lcs.mit.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 28 > While using the dialogWidget, I find that if I change the > value string after the widget is realized, using > XtSetValues on XtNvalue, then while the dialog box displays > the new string, I never get back the new value that's been typed > in using XtDialogGetValueString(). > Any ideas?. Do you print out the string that XtDialogGetValueString returns, or are you using it to set the label? If the label string is in volatile memory, and you are using XtDialogGetValueString to get something to set the label, it could lead you to think that the problem is with the value. Donna Converse converse@expo.lcs.mit.edu I actually just printed out the value (the original intention was to copy it to a malloced string) and got the above mentioned problems. thx. Sandeep Kochhar (617) 495-9515 mail: kochhar@harvard.harvard.edu Harvard University kochhar@harvard.csnet 33 Oxford st, kochhar@harvard.uucp Cambridge, Ma 02138 kochhar@harvard.bitnet