[Gtk-sharp-list] Problem of menu highlighting on Vista

libin libin.mohanan at wipro.com
Thu Aug 6 03:10:08 EDT 2009

I am using the following code snippet to change the back ground color of the
menu item when cursor is placed on them 
Gdk.Color col = new Gdk.Color();
Gdk.Color.Parse("red", ref col);
imageMenuItem.ModifyBg(StateType.Prelight, col);
In XP the menu item is highlighted with blue color and text is appearing
fine. But In vista the menu item is highlighted with white color and the
text is not visible.
Can any one please tell me why is this not working in vista?
Many thanks- Libin

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20090806/580d412b/attachment.html 

More information about the Gtk-sharp-list mailing list