[Message Deleted]
-
[Message Deleted]
-
[Message Deleted]
You don't need to draw the shadow yourself. Just add your menu item and the menu component in Office takes care of the rest.
Microsoft MVP, Visual C# My Articles
-
You don't need to draw the shadow yourself. Just add your menu item and the menu component in Office takes care of the rest.
Microsoft MVP, Visual C# My Articles
Exactly that's my problem! I tried to draw the image's shadow like this, but it looks not very great.
ControlPaint.DrawImageDisabled (e.Graphics,img,e.Bounds.X + 4,e.Bounds.Y + 4,Color.Transparent);
Is there any way to draw a shadow looking LIKE in Ofice XP? -
Exactly that's my problem! I tried to draw the image's shadow like this, but it looks not very great.
ControlPaint.DrawImageDisabled (e.Graphics,img,e.Bounds.X + 4,e.Bounds.Y + 4,Color.Transparent);
Is there any way to draw a shadow looking LIKE in Ofice XP?You said you were working with Office XP components. If you only want Office XP-looking components, there are several articles here on CodeProject that show many different ways to achieve that. See the Menus and Toolbars Windows Forms Controls[^] section.
Microsoft MVP, Visual C# My Articles
-
You said you were working with Office XP components. If you only want Office XP-looking components, there are several articles here on CodeProject that show many different ways to achieve that. See the Menus and Toolbars Windows Forms Controls[^] section.
Microsoft MVP, Visual C# My Articles
Thanks for the nice tip! :)