Share via


Dialog Editor Shortcut Keys, Visual C++ 2.0 Default Shortcut Option

Use the following shortcut key combinations only while you work in the Dialog Editor.

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Command name

Shortcut keys

Description

Edit.CheckMnemonics

CTRL + M

Checks for duplicate mnemonics in the dialog box.

Format.AlignBottoms

CTRL + DOWN ARROW

Aligns the selected controls horizontally with the bottom-most control selected on the dialog box.

Format.AlignCenters

SHIFT + F9

Aligns the selected controls so that they are centered vertically on the dialog box.

Format.AlignLefts

CTRL + LEFT ARROW

Aligns the selected controls vertically with the left-most control selected on the dialog box.

Format.AlignMiddles

F9

Aligns the selected controls so that they are centered horizontally on the dialog box.

Format.AlignRights

CTRL + RIGHT ARROW

Aligns the selected controls vertically with the right-most control selected on the dialog box.

Format.AlignTops

CTRL + UP ARROW

Aligns the selected controls horizontally with the top most control selected on the dialog box.

Format.ButtonBottom

CTRL + SHIFT + B

Aligns selected controls along the bottom edge of the dialog box.

Format.ButtonRight

CTRL + B

Aligns the selected controls along the right edge of the dialog box.

Format.CenterHorizontally

CTRL + SHIFT + F9

Centers the selected controls horizontally on the dialog box.

Format.CenterVertically

CTRL + F9

Centers the selected controls vertically on the dialog box.

Format.MakeHorizontalSpacingEqual

ALT + LEFT ARROW ALT + RIGHT ARROW

Spaces controls horizontally equal on the dialog box.

Format.MakeVerticalSpacingEqual

ALT + DOWN ARROW ALT + UP ARROW

Spaces controls vertically equal on the dialog box.

Format.SizetoContent

F7

Reduces or increases the size of the selected control to match the content of the control.

Format.TestDialog

CTRL + T

Displays a testable version of the current dialog box.

View.TabOrder

CTRL + D

Displays a number beside each control, indicating the order in which the controls are selected when you tab.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 2.0 Default Shortcut Keys