Udostępnij za pośrednictwem


Centering Controls in a Dialog Box

To center controls in a dialog box

  1. Select the control or controls you want to rearrange.

  2. From the Format menu, choose Center In Dialog, and then choose one of the following arrangements:

    • Vertical: centers controls vertically in the dialog box.

    • Horizontal: centers controls horizontally in the dialog box.

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Concepts

Controls (MFC)

Reference

The Arrangement of Controls on Dialog Boxes

Controls in Dialog Boxes