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 to 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/

Question about "Toolbar Button Face" in "PasteFace()" ?
sunspark
Thank you.
Nobody could be able to help me.
Fortunately, I have resolved this question by myself. Any more suggestion is welcome too.
The source code in VC++ could be downloaded from my website:
http://www.regexlab.com/highlight/
jrsairwalk
Hi,
Your question is not specific to VSTO, which is the focus of this Forum. You might try to post your question in a newsgroup that discusses VBA. For example, you might try the following:
· General programming issues: office.developer.vba newsgroup
http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.vba&lang=en&cr=US
· General programming issues: word.vba.general newsgroup
http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.word.vba.general&lang=en&cr=US
Kathleen McGrath