Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "81) Can a non-shell Motif widget have a different visual type from"
Next document is "83) How do I popup a scrolled list on top of other widgets?"

82) Why do I get BadMatch errors from my menus when I use a non-

default visual type for my application shell?

[Last modified: Sept 95]

Answer:  Unfortunately, the visual type and depth attributes are copied
differently from parent to child.  To be safe you use non-default visuals on
any of your widgets and use these as parents for shell widgets (including
menus), you should set the visual type, depth, and colormap on the child
shells.

Ken Lee, http://www.rahul.net/kenton/

Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "81) Can a non-shell Motif widget have a different visual type from"
Next document is "83) How do I popup a scrolled list on top of other widgets?"