Visual Basic Extensibility Reference

Visual Studio 6.0

CommandBarEvents Object

See Also   Example   Properties   Methods   Events   Specifics

Returned by the CommandBarEvents property. The CommandBarEvents object triggers an event when a control on the command bar is clicked.


The CommandBarEvents object is returned by the CommandBarEvents property of the Events object. The object that is returned has one event in its interface, the Click event. You can handle this event using the WithEvents object declaration.