MessageBox

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

1 post / 0 new
MessageBox

Submitted by Anonymous on Wed, 05/30/2001 - 12:14.

Hello all,
when I set XmNdialogType on XmDIALOG_WARNING then I got icon "!" in my MessageBox. How can I change background color under this icon? When I used

n = 0;
XtSetArg(args[n], XmNbackground, back.pixel); ++n;
XtSetArg(args[n], XmNforeground, fore.pixel); ++n;
XtSetValues(message_box, args, n);

then I change background color of message_box without icon.