[comp.windows.x.motif] Question on MessageBox

mikel@cadence.cadence.com (11/29/90)

I'm writing a Motif based application and I want to make all
push buttons (including button in message dialog box, button
in file selection box, among other things) share the same 
color, and all texts use another color.  But in messagebox
as an example, message and button share the foreground 
color.  Is there any way to set different colors for message
and button?  Does this violate Motif design style? 
I'll appreciate your help.

Mike Lin   mikel@cadence.com

nazgul@alphalpha.com (Kee Hinckley) (11/30/90)

> color, and all texts use another color.  But in messagebox
> as an example, message and button share the foreground 
> color.  Is there any way to set different colors for message
> and button?  Does this violate Motif design style? 
> I'll appreciate your help.

I don't see any way to do it, since the buttons are gadgets and
thus doesn't have its own foreground.