b***@gmail.com
2015-04-19 09:46:27 UTC
Have a VB6 form with a toolbar (the regular one from MSCOMCTL.OCX) and a menu bar and right-click popup menus. Having some trouble figuring out what the best format is for the images to go with the toolbar buttons and with the right-click popup menu items. The images are in a regular Imagelist control.
I am adding images to the popup menu items with the GetMenu, GetSubMenu and the SetMenuItemBitmaps API's.
I think the SetMenuItemBitmaps API needs .bmp file images, so I use these for the toolbar buttons as well. The problem now is to edit these .bmp images, so that the background is transparent, so it blends nicely with the toolbar. I am not sure this can be done. Been trying with Irfanview for a while, but no success.
I could use a different format for the toolbar buttons, but then I lose the consistency as the popup menu items will have a different image.
Could anybody advise me what the best way to go is with this?
I could also do with good source (website or else) to get a good choice of images for this.
Thanks in advance for any advice, RBS
I am adding images to the popup menu items with the GetMenu, GetSubMenu and the SetMenuItemBitmaps API's.
I think the SetMenuItemBitmaps API needs .bmp file images, so I use these for the toolbar buttons as well. The problem now is to edit these .bmp images, so that the background is transparent, so it blends nicely with the toolbar. I am not sure this can be done. Been trying with Irfanview for a while, but no success.
I could use a different format for the toolbar buttons, but then I lose the consistency as the popup menu items will have a different image.
Could anybody advise me what the best way to go is with this?
I could also do with good source (website or else) to get a good choice of images for this.
Thanks in advance for any advice, RBS