Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Cannot create transparent XP CommandBar picture

Has anyone managed to get the code from the following KB article to
run in Excel VBA?

HOWTO: Create a Transparent Picture For Office CommandBar Buttons
http://support.microsoft.com/default.aspx?kbid=288771

The code is for Visual Basic 6.0 so it will require some leverage to
get it to run in VBA. I tried doing so by replacing some vb
enumerations with their numerical equivalents, using Stephen Bullen's
PastePicture code to create a StdPicture object using the clipboard
contents and employed the CopyImage API to do the opposite. But my
button images still have their magenta backgrounds i.e. had not been
made transparent.

Has anyone already got this code to run in VBA?

Many thanks.
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
how do I create a transparent chart in Excel? Env Eng Student Charts and Charting in Excel 2 March 1st 10 01:26 PM
How to make inserted picture transparent so the cells will show? Rarer3 Excel Discussion (Misc queries) 1 July 11th 08 09:41 PM
HOW CAN I WRITE OVER A PICTURE IN EXCEL(NOT TRANSPARENT)? IGGYJOE Excel Discussion (Misc queries) 1 August 3rd 05 11:21 PM
How to create transparent objects on images in Excel Simon Lenn Excel Programming 1 December 23rd 03 05:12 AM
Create new commandbar with call procedure Tonmai Excel Programming 1 September 26th 03 09:00 AM


All times are GMT +1. The time now is 09:35 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"