Click here to Skip to main content
16,018,417 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I’m working with Visual Studio 2008 using C#. I would like to find out how to change the ToolStripMenuItem.BackColor when the user hovers over a menustrip item. I’ve tried changing the BackColor property in the MouseHover event but nothing changes. I would appreciate any solutions that you might have.
Posted

you use mouseenter event and mouseleave event in place of mousehover event.
 
Share this answer
 
Comments
JOE DELVECCHIO 6-Jun-24 18:34pm    
Doesn't work! BTN.BackColor = Color.Black
When you focusing the ToolStripMenuItem that time windows selecting the full region of that ToolStripMenuItem thats why back color is not visible for you.
 
Share this answer
 
Comments
mandar.pande 5-Nov-15 4:24am    
How can we supress default windows hower effect ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900