Skip to content

Commit dc6a126

Browse files
author
msebolt
committed
resource file consolidation pr7
1 parent 14299e4 commit dc6a126

5 files changed

Lines changed: 46 additions & 80 deletions

File tree

‎.openpublishing.redirection.json‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7370,6 +7370,16 @@
73707370
"redirect_url": "/cpp/windows/viewing-and-adding-activex-controls-to-a-dialog-box",
73717371
"redirect_document_id": false
73727372
},
7373+
{
7374+
"source_path": "docs/windows/selecting-multiple-controls.md",
7375+
"redirect_url": "/cpp/windows/selecting-controls",
7376+
"redirect_document_id": false
7377+
},
7378+
{
7379+
"source_path": "docs/windows/specifying-the-dominant-control.md",
7380+
"redirect_url": "/cpp/windows/selecting-controls",
7381+
"redirect_document_id": false
7382+
},
73737383
{
73747384
"source_path": "docs/windows/activationfactory-activationfactory-constructor.md",
73757385
"redirect_url": "/cpp/windows/activationfactory-class#activationfactory",

‎docs/windows/TOC.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@
7474
####### [Default Control Events](default-control-events.md)
7575
####### [Defining Member Variables for Dialog Controls](defining-member-variables-for-dialog-controls.md)
7676
###### [Selecting Controls](selecting-controls.md)
77-
####### [Selecting Multiple Controls](selecting-multiple-controls.md)
78-
####### [Specifying the Dominant Control](specifying-the-dominant-control.md)
7977
###### [Sizing Individual Controls](sizing-individual-controls.md)
8078
###### [Making Controls the Same Width, Height, or Size](making-controls-the-same-width-height-or-size.md)
8179
###### [Setting the Size of the Combo Box and Its Drop-Down List](setting-the-size-of-the-combo-box-and-its-drop-down-list.md)

‎docs/windows/selecting-controls.md‎

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Selecting Controls"
33
ms.date: "11/04/2016"
4-
helpviewer_keywords: ["Dialog Editor [C++], selecting controls", "dominant controls", "dialog box controls [C++], selecting in editor", "controls [C++], selecting", "size, controls", "controls [C++], dominant"]
4+
helpviewer_keywords: ["Dialog Editor [C++], selecting controls", "dominant controls", "dialog box controls [C++], selecting in editor", "controls [C++], selecting", "size, controls", "controls [C++], dominant", "controls [C++], removing from groups", "Dialog Editor [C++], dominant control"]
55
ms.assetid: 27f05450-4550-4229-9f4c-2c9e06365596
66
---
77
# Selecting Controls
@@ -12,11 +12,43 @@ When a control is selected, it has a shaded border around it with solid (active)
1212

1313
When you are sizing or aligning multiple controls, the **Dialog** editor uses the "dominant control" to determine how the other controls are sized or aligned. By default, the dominant control is the first control selected.
1414

15-
- [Selecting Multiple Controls](../windows/selecting-multiple-controls.md)
15+
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).
1616

17-
- [Specifying the Dominant Control](../windows/specifying-the-dominant-control.md)
17+
## To select multiple controls
1818

19-
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).
19+
1. In the [Toolbox Window](/visualstudio/ide/reference/toolbox), select the **Pointer** tool.
20+
21+
1. Drag the pointer to draw a selection box around the controls you want to select in your dialog box.
22+
23+
When you release the mouse button, all controls inside and intersecting the selection box are selected.
24+
25+
\- or -
26+
27+
- Hold down the **Shift** key and select the controls you'd like to include in the selection.
28+
29+
\- or -
30+
31+
- Hold down the **Ctrl** key and select the controls you'd like to include in the selection.
32+
33+
## To remove a control from a group of selected controls or to add a control to a group of selected controls
34+
35+
1. With a group of controls selected, hold down the **Shift** key and select the control you want to remove from or add to the existing selection.
36+
37+
> [!NOTE]
38+
> Holding down the **Ctrl** key and selecting a control within a selection will make that control the dominant control in that selection.
39+
40+
## To specify the dominant control
41+
42+
1. Hold down the **Ctrl** key and click the control you want to use to influence the size or location of other controls *first*.
43+
44+
> [!NOTE]
45+
> The sizing handles of the dominant control are solid while the handles of subordinate controls are hollow. All further resizing or alignment is based on the dominant control.
46+
47+
## To change the dominant control
48+
49+
1. Clear the current selection by clicking outside all the currently selected controls.
50+
51+
1. Repeat the previous procedure, selecting a different control first.
2052

2153
## Requirements
2254

‎docs/windows/selecting-multiple-controls.md‎

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

‎docs/windows/specifying-the-dominant-control.md‎

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

0 commit comments

Comments
 (0)