rossom
asked on
Using bitmaps in menu items
How do you use the API in order to attach bitmap images to items in a drop down menu?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This doesn't seem to work?
It works on my PC running VB5, where is the code failing on you?
x = SetMenuItemBitmaps(hMenu, menuID, &H4, img.ListImages(i).Picture, img.ListImages(i).Picture)
seems to be returning 0?
I cut your code out to see if it would work so it is exactly as above!
seems to be returning 0?
I cut your code out to see if it would work so it is exactly as above!
Sorry,
It does work here also, I had ICONS in the ImageList instead of Bitmaps.
It does work here also, I had ICONS in the ImageList instead of Bitmaps.