Setting background color on a menu bar?

Thank you all for your help with my previous question.

Now I have a question on setting the background color
of a menu bar: can it be done?

I’ve experimented thus:

menuBar = Wx::MenuBar.new()
menuBar.set_background_color( Wx::WHITE )

But alas, it seems to have no effect.

(I’m using wxruby-1.9.0-i386-mswin32 with ruby 1.8.6)

Thanks much!

Hi

[email protected] wrote:

Now I have a question on setting the background color
of a menu bar: can it be done?
Probably not, and you probably shouldn’t try. The colour of the menu bar
comes from the Windows theme, and this is what users will expect. On
modern OS’s the Menu Bar often isn’t have a flat colour - it might be a
gradient (XP) or a texture (OS X, brushed metal).

Perhaps if you say what you’re trying to communicate to an application’s
user by changing the menu bar colour, we could think of another way more
standard way of communicating the same message.

cheers
alex