Share via


Accessing WizardBar from the Keyboard

Home Page (Working with Classes)OverviewHow Do I ... Topics

By assigning shortcut keys to WizardBar controls, you can gain full keyboard access to all of the WizardBar commands and functions.

What do you want to do?

Assign a WizardBar control to a shortcut key

Display the WizardBar menu from the keyboard

Access WizardBar commands from the keyboard

Type directly into a WizardBar combo control

To assign a WizardBar control to a shortcut key

  1. From the Tools menu, choose Customize and then click the Keyboard tab.

  2. In the Categories list, select WizardBar.

  3. In the Commands list, select the command to which you want to assign the shortcut key.

    See the table following for a list of WizardBar controls that can be assigned to shortcut keys.

  4. Put the cursor in the Press New Shortcut Key box, press the shortcut key or key combination that you want, and click Assign.

    If you press a key or key combination that is invalid, no key is displayed. You cannot assign key combinations with ESC, F1, or combinations such as CTRL+ALT+DEL that are being used already by your operating system.

    If you press a key or key combination that currently is assigned to another command, that command appears under Currently Assigned To.

WizardBar Keyboard Commands

Command ID Function
WBActionButtonActive Gives focus to the Action button
WBClassComboActive Gives focus to the Class list
WBFilterComboActive Gives focus to the Filter list
WBMemberComboActive Gives focus to the Members list
WBAddNewMember Opens the Add Member Function dialog box
WBCreateNewVirtualFunction Opens the Add Virtual Function dialog box
WBCreateNewWindowsMessageHandler Opens the Add Windows Message Handler dialog box.
WBDefaultAction Carries out the current default action
WBGoToClassDefinition Jumps you to the definition for the selected class
WBGoToMember Jumps you to the definition or implementation for the selected member
WBGoToMemberDeclaration Jumps you to the declaration for the selected function
WBGoToNext Jumps to the next function in the current file
WBGoToPrevious Jumps to the previous function in the current file
WBHelp Displays a Help topic on the WizardBar
WBOpenInclude Opens the associated include file for the current file in the text editor