![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How does one bring images in menu bars in .NET 2003 like Office has. Similarly how to have toolbars that can be moved and can turn into palette windows |
#3
| |||
| |||
|
|
"Amey" <Amey (AT) discussions (DOT) microsoft.com> schrieb: How does one bring images in menu bars in .NET 2003 like Office has. Similarly how to have toolbars that can be moved and can turn into palette windows SandBar URL:http://divil.co.uk/net/controls/sandbar/ -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/ V B <URL:http://classicvb.org/petition/ |
#4
| |||
| |||
|
|
Thank you for your reply. Sandbar is a 3rd party control. Can this control be developed by coding in C# or VB.NET etc. Regards Amey "Herfried K. Wagner [MVP]" wrote: "Amey" <Amey (AT) discussions (DOT) microsoft.com> schrieb: How does one bring images in menu bars in .NET 2003 like Office has. Similarly how to have toolbars that can be moved and can turn into palette windows SandBar URL:http://divil.co.uk/net/controls/sandbar/ -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/ V B <URL:http://classicvb.org/petition/ |
#5
| |||
| |||
|
|
Hi Amey, You have to make a menu derived control which is "owner-drawn", which involves responding to the OnMeasureItem and OnDrawItem events. In these two events, you can alter the size and graphical content of your custom MenuItem respectively. The latter of the two events allows you to draw directly onto the MenuItem's surface, which means you can place icons, bitmaps, lines, textures etc on it. I'm fairly sure there's a comprehensive Dr Gui article on MSDN that explains in detail how to do it, but there are certainly no shortage of examples on the 'net, CodeProject would be another good place to look. Kind Regards, Alex Clark "Amey" <Amey (AT) discussions (DOT) microsoft.com> wrote in message news:FBC72497-C3E6-4F1F-920A-1A0D1CCCC0E8 (AT) microsoft (DOT) com... Thank you for your reply. Sandbar is a 3rd party control. Can this control be developed by coding in C# or VB.NET etc. Regards Amey "Herfried K. Wagner [MVP]" wrote: "Amey" <Amey (AT) discussions (DOT) microsoft.com> schrieb: How does one bring images in menu bars in .NET 2003 like Office has. Similarly how to have toolbars that can be moved and can turn into palette windows SandBar URL:http://divil.co.uk/net/controls/sandbar/ -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/ V B <URL:http://classicvb.org/petition/ |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |