PC Review


Reply
Thread Tools Rate Thread

BMPS stored in a Resource Editor File

 
 
krshaikh@yahoo.com
Guest
Posts: n/a
 
      12th Oct 2006
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 With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      13th Oct 2006
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

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VS2005 Resource Editor - How to make new line from string resource? Peter Hartlén Microsoft C# .NET 9 21st Jul 2008 08:41 AM
Resource Editor for VBA Gil_H Microsoft Powerpoint 0 2nd Oct 2006 09:50 AM
Resource Editor =?Utf-8?B?Q2hhbmRyYQ==?= Microsoft VC .NET 2 21st May 2004 02:01 AM
Resource File Editor Shadowboxer Microsoft VB .NET 3 28th Sep 2003 01:42 AM
Resource File Editor Shadowboxer Microsoft Dot NET 3 28th Sep 2003 01:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:53 PM.