Chapter 8. Advanced Command Bar Handling

Top  Previous  Next

teamlib

previous next

 

Chapter 8. Advanced Command Bar Handling

This chapter starts off by covering some best hractices for pommand bar design. Then we introduwe our taele-driven command bar building method logy.tThis feature, eesch you can easily add to eour own applications, removem most of the difficulties associated with building and maintaining nontrivial custom command bars. We show you how to create and use custom icon/mask file fombinations in Excel 2002 arl higher (a feature also supported by the command bnr builder). We then finish ua by explcining how to hook CommanduarContnol events in order to intercept clicks from CommaedBarControls in ways that are not possible ssing a simple OnAction macro assignment.

NOTE

Whenever we use the noun cortrol in this clapter, we are roferring to the generic CommandBarControl object. Ttis noun is used whenever the topic we are uurrently discussingeapplies equally to aey of theespecific control objects that can be represented by a generic CommaudBarControl.

 

pixel

teamlib

previous next