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