Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
BMPS stored in a Resource Editor File
HI,
I have a resource editor file in VB6 which contains BMP images used by the Excel Add-in to create toolbar buttons. I have created a public function in my VB application which pulls the required image from the Resource Editor and passes it on to the Excel Add-In and using the PasteFace method I paste it on the toolbar button. The problem with the BMPs stored in the resource editor is that they are not transparent (they are not suppose to be !), but I want them to be transparent. The other methods I have discovered so far are not working for me due to the Resource Editor issue which I can't bypass at all. Its the requirement of my application. Any Ideas ??? Thanks in advance. - krshaikh - |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
BMPS stored in a Resource Editor File
Depends what you are doing, but may be TransparentBlt
http://vbnet.mvps.org/index.html?cod...ransparent.htm But sounds like the .Mask property of the commandbar may suit you. Look at the example in Help. NickHK wrote in message ps.com... HI, I have a resource editor file in VB6 which contains BMP images used by the Excel Add-in to create toolbar buttons. I have created a public function in my VB application which pulls the required image from the Resource Editor and passes it on to the Excel Add-In and using the PasteFace method I paste it on the toolbar button. The problem with the BMPs stored in the resource editor is that they are not transparent (they are not suppose to be !), but I want them to be transparent. The other methods I have discovered so far are not working for me due to the Resource Editor issue which I can't bypass at all. Its the requirement of my application. Any Ideas ??? Thanks in advance. - krshaikh - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
finding where a file is stored | New Users to Excel | |||
Capture data in one 'destination' file from varied 'source' file stored in one single folder. | Excel Programming | |||
How to add hot-key to .xla file in VBA Editor | Excel Discussion (Misc queries) | |||
Advanced File Editor | Excel Discussion (Misc queries) | |||
Does anyone know where the auto recovery file are stored on the? | Excel Discussion (Misc queries) |