Question "Toolbar Button Face" in "PasteFace()" ?

S

sswater shi

I'm going to add a custom toobar button to word, using "PasteFace()" in VBA.
According to http://support.microsoft.com/kb/288771/en-us, I used "Toolbar
Button Face" and "Toolbar Button Mask" clipboard format to transfer
transparent button icon.

But this is not right if the office is not English version. The clipboard
format name "Toolbar Button Face" should be localized. If I use "Toolbar
Button Face" and "Toolbar Button Mask" as clipboard format name on Chinese
Version Office, the icon could not be pasted as transparent icon.

I found out that the localized infomation is in the "MSOINTL.DLL" under
"C:\Program Files\Common Files\Microsoft Shared\OFFICE11\1033" directory, but
I don't know how to get the localized strings.

I meet this question when I want to add icon for:
http://www.regexlab.com/highlight/
 

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