How to high light text in message dialog

How to high light text in message dialog

Post by seem » Fri, 09 Dec 2005 00:17:17


Hi all,

I am new to Motif programming and I just want to high light the
text in the Message Dialog. But I dont know how to do it. I have
written some thing like this,
char *text = (char *) client_data;
Widget dialog;
XmString t = XmStringCreateLocalized (text);

XtSetArg (args[n], XmNautoUnmanage, False); n++;
XtSetArg (args[n], XmNmessageString, t); n++;
dialog = XmCreateMessageDialog (XtParent (w), "notice", args, n);
XmStringFree (t);

Can some body please explain how to high light the message string
with a color in the Message dialog.

Thanks in Advance
SeemaRao
 
 
 

How to high light text in message dialog

Post by nojun » Fri, 09 Dec 2005 11:31:58


---8<---

Use render tables. Look at

http://www.yqcomputer.com/

BTW I advise you to read the Motif FAQ at

http://www.yqcomputer.com/


You're welcome.

--- Casantos