| title | Selecting Multiple Controls | Microsoft Docs | ||||
|---|---|---|---|---|---|
| ms.custom | |||||
| ms.date | 11/04/2016 | ||||
| ms.reviewer | |||||
| ms.suite | |||||
| ms.technology |
|
||||
| ms.tgt_pltfrm | |||||
| ms.topic | article | ||||
| dev_langs |
|
||||
| helpviewer_keywords |
|
||||
| ms.assetid | efbdbade-0a3a-4328-b36e-a6376c06e8de | ||||
| caps.latest.revision | 10 | ||||
| author | mikeblome | ||||
| ms.author | mblome | ||||
| manager | ghogen | ||||
| ms.workload |
|
-
In the Toolbox Window, select the Pointer tool.
-
Drag the pointer to draw a selection box around the controls you want to select in your dialog box.
When you release the mouse button, all controls inside and intersecting the selection box are selected.
- or -
-
Hold down the SHIFT key and click the controls you'd like to include in the selection.
- or -
-
Hold down the Ctrl key and click the controls you'd like to include in the selection.
To remove a control from a group of selected controls or to add a control to a group of selected controls
-
With a group of controls selected, hold down the SHIFT key and click the control you want to remove from or add to the existing selection.
[!NOTE] Holding down the CTRL key and clicking a control within a selection will make that control the dominant control in that selection. For more information, see Specifying the Dominant Control.
For information on adding resources to managed projects, please see Resources in Desktop Apps 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. For information on globalization and localization of resources in managed apps, see Globalizing and Localizing .NET Framework Applications.
Win32