Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
finding where a file is stored Catherine New Users to Excel 6 April 26th 09 10:28 PM
Capture data in one 'destination' file from varied 'source' file stored in one single folder. Smits Excel Programming 4 October 7th 06 12:35 PM
How to add hot-key to .xla file in VBA Editor Dennis Excel Discussion (Misc queries) 1 June 30th 06 07:21 PM
Advanced File Editor John in Boston Excel Discussion (Misc queries) 2 February 3rd 06 02:39 PM
Does anyone know where the auto recovery file are stored on the? Husker87 Excel Discussion (Misc queries) 1 January 27th 05 01:17 AM


All times are GMT +1. The time now is 10:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"