|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Menu images.Hi.
I have an application with several menus, see last post, still not resolved. I have another problem.... The menus have been created using the menu editor, I can't find a way to add icons to the menu items. I can find examples of creating the menus is code and assigning icons, but nothing if I've created the menu system already. Any ideas? Cheers, Tull. "Tull Clancey" <tull.clan***@btopenworld.com> schrieb: Which version of .NET are you using? If you are using .NET Framework 2.0, > The menus have been created using the menu editor, I can't find a way to > add icons to the menu items. I can find examples of creating the menus is > code and assigning icons, but nothing if I've created the menu system > already. you may want to replace the standard menu controls with MenuStrip controls which provide design-time support for assigning images to the menu items. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> On Tue, 21 Mar 2006 12:06:12 +0000 (UTC), "Tull Clancey"
<tull.clan***@btopenworld.com> wrote: Show quoteHide quote >Hi. I assume you are finding how to add a .bmp or .png image for> >I have an application with several menus, see last post, still not resolved. > >I have another problem.... > >The menus have been created using the menu editor, I can't find a way to add >icons to the menu items. I can find examples of creating the menus is code >and assigning icons, but nothing if I've created the menu system already. > >Any ideas? > >Cheers, >Tull. > menustrips and toolstrips as a resource. With regards to .ico files, the older 16 and 256 color .ico files cannot be used in design in these controls. They can be used at runtime when converted to a bitmap. However, .ico files that are of the XP variety will work. In this case, when you go to import the resource, change the file type in the file dialog to *.* all files. If the .ico file is of the XP type it will load, but if the older variety, you will get an "invalid" message. (VB2005) Gene |
|||||||||||||||||||||||