Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To add an icon to a MenuItem

Status
Not open for further replies.

maha12

Programmer
Sep 8, 2002
79
LK
I am Using VB6.
I am still trying to add icons to menus but couldn't
If there are any person done this before please explain me how to do.

Tks.
Maha.
 
Use mciconmenu in your project(This is a control)

sample code:

mciconmenu1.ItemIcon("mnuLogOff") = ImgLstAllIcons.ListImages.Item("Sign Off").Index - 1
 
Use mciconmenu & ImageList in your project(This is a control)

sample code:

mciconmenu1.ItemIcon("mnuLogOff") = ImgLstAllIcons.ListImages.Item("Sign Off").Index - 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top