Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21870

Adding Icons to Popup Menu and Toolbar Button Menus

$
0
0
Hi Guys

I am able to add icons to the main toolbar via GetMenu and

hSubMenu = GetSubMenu(hMenu, 0)

ret = SetMenuItemBitmaps(hSubMenu, 0, MF_BYPOSITION, iconMenus.ListImages("CARROT").Picture, 0)

API calls.

Does anybody know how to add the same to context/popup menus that are specified in the menu editor and then shown with PopupMenu()?

And also button menu's that are created in the toolbar properties window?

Many Thanks In Advance

Jwal

Viewing all articles
Browse latest Browse all 21870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>