Skip to content

Commit 3dfbdc3

Browse files
author
msebolt
committed
resource file consolidation pr9
1 parent 41df24f commit 3dfbdc3

6 files changed

Lines changed: 57 additions & 102 deletions

‎.openpublishing.redirection.json‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7405,6 +7405,21 @@
74057405
"redirect_url": "/cpp/windows/dialog-editor-states-guides-and-grids",
74067406
"redirect_document_id": false
74077407
},
7408+
{
7409+
"source_path": "docs/windows/arranging-push-buttons-along-the-right-or-bottom-of-a-dialog-box.md",
7410+
"redirect_url": "/cpp/windows/aligning-groups-of-controls",
7411+
"redirect_document_id": false
7412+
},
7413+
{
7414+
"source_path": "docs/windows/centering-controls-in-a-dialog-box.md",
7415+
"redirect_url": "/cpp/windows/aligning-groups-of-controls",
7416+
"redirect_document_id": false
7417+
},
7418+
{
7419+
"source_path": "docs/windows/evening-the-spacing-between-controls.md",
7420+
"redirect_url": "/cpp/windows/aligning-groups-of-controls",
7421+
"redirect_document_id": false
7422+
},
74087423
{
74097424
"source_path": "docs/windows/activationfactory-activationfactory-constructor.md",
74107425
"redirect_url": "/cpp/windows/activationfactory-class#activationfactory",

‎docs/windows/TOC.md‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@
8282
###### [Arrangement of Controls on Dialog Boxes](arrangement-of-controls-on-dialog-boxes.md)
8383
####### [Dialog Editor States (Guides and Grids)](dialog-editor-states-guides-and-grids.md)
8484
####### [Grouping Radio Buttons on a Dialog Box](grouping-radio-buttons-on-a-dialog-box.md)
85-
####### [Aligning Groups of Controls](aligning-groups-of-controls.md)
86-
####### [Evening the Spacing Between Controls](evening-the-spacing-between-controls.md)
87-
####### [Centering Controls in a Dialog Box](centering-controls-in-a-dialog-box.md)
88-
####### [Arranging Push Buttons Along the Right or Bottom of a Dialog Box](arranging-push-buttons-along-the-right-or-bottom-of-a-dialog-box.md)
85+
####### [Align Controls](aligning-groups-of-controls.md)
8986
####### [Changing the Tab Order of Controls](changing-the-tab-order-of-controls.md)
9087
###### [Custom Controls in the Dialog Editor](custom-controls-in-the-dialog-editor.md)
9188
###### [Defining Mnemonics (Access Keys)](defining-mnemonics-access-keys.md)

‎docs/windows/aligning-groups-of-controls.md‎

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
---
2-
title: "Aligning Groups of Controls"
2+
title: "Align Controls"
33
ms.date: "11/04/2016"
4-
helpviewer_keywords: ["controls [C++], aligning"]
4+
helpviewer_keywords: ["controls [C++], aligning", "controls [C++], positioning", "Space Evenly command", "dialog box controls [C++], placement", "Center in Dialog command", "Arrange Buttons command", "buttons, arranging push buttons in dialog boxes", "push buttons"]
55
ms.assetid: a4f49a73-4a17-44b3-8568-aa35f646b5cf
66
---
7-
# Aligning Groups of Controls
7+
# Align Controls
88

9-
The following procedure shows you how to align groups of controls.
9+
For information on adding resources to managed projects, see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
1010

11-
### To align groups of controls
11+
The following procedures show you how to align controls:
12+
13+
## To align groups of controls
1214

1315
1. [Select the controls](../windows/selecting-multiple-controls.md) you want to align. Be sure to select the control that you want to be the dominant control first or set it to be the dominant control before executing the alignment or sizing command.
1416

1517
The final position of the group of controls depends on the position of the dominant control. For more information on selecting the dominant control, see [Specifying the Dominant Control](../windows/specifying-the-dominant-control.md).
1618

17-
2. From the **Format** menu, choose **Align**, and then choose one of the following alignments:
19+
1. From the **Format** menu, choose **Align**, and then choose one of the following alignments:
1820

1921
- `Lefts`: aligns the selected controls along their left sides.
2022

@@ -28,7 +30,39 @@ The following procedure shows you how to align groups of controls.
2830

2931
- `Bottoms`: aligns the selected controls along their bottom edges.
3032

31-
For information on adding resources to managed projects, please see [Resources in Desktop Apps](/dotnet/framework/resources/index) in the *.NET Framework Developer's Guide*. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resource strings to properties, see [Creating Resource Files for Desktop Apps](/dotnet/framework/resources/creating-resource-files-for-desktop-apps). For information on globalization and localization of resources in managed apps, see [Globalizing and Localizing .NET Framework Applications](/dotnet/standard/globalization-localization/index).
33+
## To even the spacing between controls
34+
35+
The **Dialog** editor enables you to space controls evenly between the outermost controls selected.
36+
37+
1. Select the controls you want to rearrange.
38+
39+
1. From the **Format** menu, choose **Space Evenly**, and then choose one of the following spacing alignments:
40+
41+
- `Across`: space controls evenly between the leftmost and the rightmost control selected.
42+
43+
- `Down`: space controls evenly between the topmost and the bottommost control selected.
44+
45+
## To center controls in a dialog box
46+
47+
1. Select the control or controls you want to rearrange.
48+
49+
1. From the **Format** menu, choose **Center In Dialog**, and then choose one of the following arrangements:
50+
51+
- `Vertical`: center controls vertically in the dialog box.
52+
53+
- `Horizontal`: center controls horizontally in the dialog box.
54+
55+
## To arrange push buttons along the right or bottom of a dialog box
56+
57+
1. Select one or more push buttons.
58+
59+
1. From the **Format** menu, choose **Arrange Buttons**, and then choose one of the following arrangements:
60+
61+
- `Right`: aligns push buttons along the right edge of the dialog box.
62+
63+
- `Bottom`: aligns push buttons along the bottom edge of the dialog box.
64+
65+
If you select a control other than a push button, its position isn't affected.
3266

3367
## Requirements
3468

‎docs/windows/arranging-push-buttons-along-the-right-or-bottom-of-a-dialog-box.md‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

‎docs/windows/centering-controls-in-a-dialog-box.md‎

Lines changed: 0 additions & 29 deletions
This file was deleted.

‎docs/windows/evening-the-spacing-between-controls.md‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)