Click Event Is Not Raised for a Custom Word CommandBarButton Object (826931)
The information in this article applies to:
- Microsoft Office Word 2003
- Microsoft Visual Studio Tools for the Microsoft Office System version 2003
SYMPTOMSYou can create a Microsoft Office Word 2003 document that uses a managed code extension. You can create the managed code extension with Microsoft Visual Studio Tools for the Microsoft Office System 2003. The code extension creates a CommandBarButton object in one of the built-in CommandBar objects in Word. When you click this CommandBarButton object, the Click event does not occur in the managed code extension. The result is that you cannot determine when a user tries to access your custom CommandBarButton object.CAUSEThis problem occurs when the Tag property of the CommandBarButton object is not set to a value.STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/23/2006 |
---|
Keywords: | kbprb kbnofix KB826931 kbAudDeveloper |
---|
|