3 Replies - 549 Views - Last Post: 09 October 2012 - 07:49 AM Rate Topic: -----

#1 varanasi  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 24
  • Joined: 24-September 12

Regarding Toolstripmenuitems in C# .net

Posted 06 October 2012 - 12:27 AM

I have a menu strip which contains a menu item.
It has sub menu also.
I want to change the background color of menu item when mouse points it.
Also i want to add border around all the sub menu items which has to appear when respective main menu is selected.
Please help me out in this case.
Is This A Good Question/Topic? 0
  • +

Replies To: Regarding Toolstripmenuitems in C# .net

#2 h4nnib4l  Icon User is offline

  • The Noid
  • member icon

Reputation: 1175
  • View blog
  • Posts: 1,661
  • Joined: 24-August 11

Re: Regarding Toolstripmenuitems in C# .net

Posted 06 October 2012 - 08:17 PM

The MSDN article has everything you'll need for that. There are plenty of properties available to you, and if you scroll down to the methods, I'm sure you can find events that you can use to update the properties
Was This Post Helpful? 0
  • +
  • -

#3 varanasi  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 24
  • Joined: 24-September 12

Re: Regarding Toolstripmenuitems in C# .net

Posted 06 October 2012 - 10:00 PM

I have already seen that site. But I could'nt get what exactly i want.
Am unable to get MouseHover event. For any mouse event that am writing, the color is being changed only on mouse click. Am unable to get any other mouse event. And please tell me what MenuActive method is...
Was This Post Helpful? 0
  • +
  • -

#4 h4nnib4l  Icon User is offline

  • The Noid
  • member icon

Reputation: 1175
  • View blog
  • Posts: 1,661
  • Joined: 24-August 11

Re: Regarding Toolstripmenuitems in C# .net

Posted 09 October 2012 - 07:49 AM

I don't know why the OnMouseHover event isn't working, but have you tried simulating it with onmouseenter and onmouseleave?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1