bitmaps assigned to menus

D

David Thielen

And if it's different, for toolbars (for menus it would be nice - but for
toolbars it's critical).
 
D

David Thielen

This is great - thanks. On follow-on question - does this work for Word 2000
& 2002 also?
 
P

Peter Huang [MSFT]

Hi

As we know, the CommandBar located in the Microsoft.Office.Core(office.dll)
which has no large change, the OM is almost of the same.
But the Picture property is introduced from office xp.

Here is similar document for office XP.
How To Set the Mask and Picture Properties for Office XP CommandBars
http://support.microsoft.com/kb/286460/

But Office 2000 have no Picture property, it will be tedious to do that in
office 2000.
How To Create a Transparent Picture For Office CommandBar Buttons
http://support.microsoft.com/default.aspx?scid=kb;en-us;288771

Hope this helps.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
B

bretehlert

Hi Peter,

I have found article 288771 useful for creating pictures with transparency
for
CommandBar buttons in Office versions prior to XP. However, I have found that
this solution only works on English systems.

I suppose the problem is caused by the clipboard format strings "Toolbar
Button Face" and "Toolbar Button Mask" coded in the solution. Is there an
easy way to get the correct strings based on the system localization? For
example, is there a constant or variable exposed somewhere that will contain
the correct strings? Or is there another solution to creating these
transparent pictures for non-XP Office versions that works regardless of
system localization?

Thanks,
Bret
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top