Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hay guys, i have a menustrip on my c# form and added pictures to each button on it, it changes my page depending what button u press. i want the pressed button to change visually like so you know what page you are on. can anyone help. tnx
Posted
Comments
JITHU.P 29-May-14 11:41am    
for that maybe we should use the javascript
andy Visnenza 29-May-14 11:47am    
would be great but its a windows form
gggustafson 29-May-14 16:02pm    
You need to write a UserControl that inherits from MenuStrip. In that user control, perform the painting yourself.

1 solution

You can use ToolStripRenderer to make a MenuStrip look different. See these helpful articles.
Custom VisualStudio 2008-style MenuStrip and ToolStrip Renderer in C#[^]
Custom Rendering for the ToolStrip, MenuStrip, and StatusStrip controls[^]
 
Share this answer
 

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