Udostępnij za pośrednictwem


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

Use the following shortcut key combinations only when 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.

Note

To see a list of shortcut keys that have changed or are no longer supported in Visual C++ .NET, see Obsolete Visual C++ 6.0 Key Commands and Changes to Visual C++ 6.0 Key Commands.

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 + B

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

Format.ButtonRight

CTRL + R

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

Format.CenterHorizontal

CTRL + SHIFT + F9

Centers the control with the horizontal center of the dialog box.

Format.CenterVertical

CTRL + F9

Centers the control with the vertical center of the dialog box.

Format.SizetoContent

SHIFT + F7

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

Format.SpaceAcross

ALT + RIGHT ARROW ALT + LEFT ARROW

Aligns the selected controls so that the controls are spaced evenly apart horizontally.

Format.SpaceDown

ALT + UP ARROW ALT + DOWN ARROW

Aligns the selected controls so that the controls are spaced evenly apart vertically.

Format.TabOrder

CTRL + D

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

Format.TestDialog

CTRL + T

Displays a testable version of the current dialog box.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 6.0 Default Shortcut Keys