Change fg/bg Colour for menu items [MSW2.9]

Andreas Oppermann Andreas-Oppermann at oss-gmbh.de
Thu Nov 1 02:42:29 PDT 2007


Sorry for my late response.
Yes, the ownerdrw sample is working.
I also added the font setting to my menuitem changes.
Unfortunately no effect.
When I am looking at the sample the menu item is added to the menu after 
setting the attributs.
In my case the complete menu tree already exists (from beeing created via 
XRC)
Best, Andreas Oppermann

"Vadim Zeitlin" <vadim at wxwidgets.org> schrieb im Newsbeitrag 
news:umSInB.A.LiW.aJFKHB at brage.sunsite.dk...
> On Wed, 31 Oct 2007 10:50:48 +0100 Andreas Oppermann 
> <Andreas-Oppermann at oss-gmbh.de> wrote:
>
> AO> I get the menu via XRC:  menubar = wxXmlResource::Get ()->LoadMenuBar 
> (this,
> AO> wxT("hauptmenu"));
> AO>
> AO> I tried to change the colour like this:
>
> Does changing colours work for you in the ownerdrw sample?
>
> Regards,
> VZ
>
> -- 
> TT-Solutions: wxWidgets consultancy and technical support
>               http://www.tt-solutions.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 








More information about the wx-users mailing list