Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!ascwide!ascgw!sh8810!okilab!icot32!isvax!cowtop!webb From: webb@cow.melco.co.jp (webb) Newsgroups: comp.windows.x.motif Subject: Re: Problem changing symbol pixmap for MessageBox widget Message-ID: Date: 7 Jun 91 15:11:21 GMT References: <187@atesysv.UUCP> Sender: news@cowtop.cow.melco.co.jp Organization: MITUBISHI,kamakura Lines: 13 In-reply-to: lanzo@wgate.wgate.com's message of 31 May 91 16:13:35 GMT I think that your problem could be your XtSetValues, and XtGetValues. These functions both take 3 parameters. Your program only passes 2 parameters, the widget, and ARGS. You must also specify the number of args as the 3rd parameter. Also you said that you wanted to use the foreground and background colours of the text in the dialog box, so maybe you should use: XtGetValues(label, ARGS, num_args); instead of XtGetValues(dialog, ARGS) which you have now. From webb@mickey.cow.melco.co.jp