المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ownerdraw MenuStrip Adobe Cs4 lookalike, any voluntairs?



C# Programming
09-25-2009, 06:11 AM
hi, i'm trying to code a Adobe Cs4 lookalike menustrip.
i found some material on microsoft's MSDN.

i stripted this example to a proper visual studio 2008 project.
if i apply the ...
this.MenuStrip1.Renderer = new RolloverItemRenderer();
it does remove the border when you hover the the mouse over a parent menuItem and simply gives a blue background and white chars.

i would like to override the hoover color + border and shape of the button.
also this methode is hard to use, it would be cool if you can edit the custom draw menu from the designer and the need of event.
so i think it need a totaloverhaul somehow.
i have experience on other control, like tabcontrol, button, etc, etc.

but it seems, this needs a diffferent aproach.
any volunteers to code a cool costum menu?
i can mail the project.

http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripitem.aspx[^ (http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripitem.aspx)]

Bad = knowing 2 much