View Single Post
  #6  
Old September 16th 08, 02:20 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Icons does not appear in a CommandBar : Catastrophic failure t

That sort of thing is what you need to mask the image. As I said before you
cannot use the Mask or Picture properties from an out-of-process call.

The example you cite isn't C++, it's VB 6 code. It just uses a lot of Win32
API calls.

To use that code you'd need to translate it into C# or VB.NET and take
especial care with the memory management and release calls so you don't leak
handles.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Hichem S" wrote in message
...
Look at this C++ example :
http://support.microsoft.com/kb/288771
You see that it's a bit specific!
it's not only : button.mask = image!!
Thanks


Ads