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. 

www.wipro.com
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to