Hello Ken,
Yes, the Explorer has the focus and the button is valid.
The same problem also happen when I set an icon for the button (PutPicture).
"Ken Slovak - [MVP - Outlook]" wrote:
I don't do C++, but I've never seen that with an Explorer button if the
Explorer has focus in any VB6, VB.NET or C# code. Does the Explorer have
focus? Is _CommandBarButton a valid object that is in scope?
--
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
"MON205" wrote in message
...
I'm using the _CommandBarButton::PutEnabled( VARIANT_TRUE );
in Outlook 2003.. The toolbar on explorer.