Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "6.15 How can I get an X client to come up in an alternate workspace?"
Next document is "6.17 How can I override the system default printer in vuepad?"

6.16 How can I get HP-VUE to not override colors?

The Motif library on HP-UX has extra code added to make the default colors
follow the color schemes that the user selects with the vuestyle controls.
This extra code makes trouble for some applications which don't want this
unique and unexpected behavior.

You can prevent the entire color scheme mechanism from being used in an
application by setting "*useColorObj: False" for the application before
creating the first widget.  This can be done by adding the resource to the
application defaults, the fallback resources, or as an extra "-xrm"
"*useColorObj: False" args pair in the argv and argc parameters passed to
XtAppInitialize.  If you set the resource in xrdb it would be best to set
it for only specific applications like "MyApp*useColorObj: False".

Setting the useColorObj resource could make programs core dump on some 8.0*
systems.  There is a patch that corrects the core dump.

You can use the vue colors and prevent the specific difference between dialog
colors vs.  non-dialog colors by setting a resource that specifies the
behavior of the color scheme mechanism.  To force the dialogs to use the same
colors as the other windows set the following resources in your app_defaults
file or fallback settings-

*primaryColorSetId: 3
*secondaryColorSetId: 3

This sets the dialog or "secondary" colors to the same set as the primary
colors.  This is discussed in the "HP VUE 3.0 User's Guide" in chapter 26.

(Thanks to Mike Stroyan, HP.)

Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "6.15 How can I get an X client to come up in an alternate workspace?"
Next document is "6.17 How can I override the system default printer in vuepad?"