Menu images.

  • Thread starter Thread starter Tull Clancey
  • Start date Start date
T

Tull Clancey

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 said:
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.

Which version of .NET are you using? If you are using .NET Framework 2.0,
you may want to replace the standard menu controls with MenuStrip controls
which provide design-time support for assigning images to the menu items.
 
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.

I assume you are finding how to add a .bmp or .png image for
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
 
Back
Top