Skip to content

Commit f5ea927

Browse files
author
msebolt
committed
resource file consolidation pr6
1 parent d6824c5 commit f5ea927

5 files changed

Lines changed: 47 additions & 79 deletions

‎.openpublishing.redirection.json‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7360,6 +7360,16 @@
73607360
"redirect_url": "/cpp/windows/adding-a-control-to-a-dialog-box",
73617361
"redirect_document_id": false
73627362
},
7363+
{
7364+
"source_path": "docs/windows/editing-properties-for-an-activex-control.md",
7365+
"redirect_url": "/cpp/windows/viewing-and-adding-activex-controls-to-a-dialog-box",
7366+
"redirect_document_id": false
7367+
},
7368+
{
7369+
"source_path": "docs/windows/insert-activex-control-dialog-box.md",
7370+
"redirect_url": "/cpp/windows/viewing-and-adding-activex-controls-to-a-dialog-box",
7371+
"redirect_document_id": false
7372+
},
73637373
{
73647374
"source_path": "docs/windows/activationfactory-activationfactory-constructor.md",
73657375
"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
@@ -70,8 +70,6 @@
7070
####### [Editing Control Properties](editing-control-properties.md)
7171
####### [Deleting a Control](deleting-a-control.md)
7272
####### [Viewing and Adding ActiveX Controls to a Dialog Box](viewing-and-adding-activex-controls-to-a-dialog-box.md)
73-
######## [Insert ActiveX Control Dialog Box](insert-activex-control-dialog-box.md)
74-
######## [Editing Properties for an ActiveX Control](editing-properties-for-an-activex-control.md)
7573
####### [Adding Event Handlers for Dialog Box Controls](adding-event-handlers-for-dialog-box-controls.md)
7674
####### [Default Control Events](default-control-events.md)
7775
####### [Defining Member Variables for Dialog Controls](defining-member-variables-for-dialog-controls.md)

‎docs/windows/editing-properties-for-an-activex-control.md‎

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

‎docs/windows/insert-activex-control-dialog-box.md‎

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,38 @@
11
---
22
title: "Viewing and Adding ActiveX Controls to a Dialog Box (C++)"
33
ms.date: "11/04/2016"
4-
f1_keywords: ["vc.controls.activex"]
5-
helpviewer_keywords: ["dialog boxes [C++], adding ActiveX controls", "ActiveX controls [C++], adding to dialog boxes"]
4+
f1_keywords: ["vc.controls.activex", "vc.editors.dialog.insertActiveXControls"]
5+
helpviewer_keywords: ["dialog boxes [C++], adding ActiveX controls", "ActiveX controls [C++], adding to dialog boxes", "Insert ActiveX Control dialog box [C++]", "controls [C++], editing properties", "ActiveX controls [C++], properties"]
66
ms.assetid: e1c2e3ae-e1b0-40d3-9766-623007073856
77
---
88
# Viewing and Adding ActiveX Controls to a Dialog Box (C++)
99

1010
Visual Studio enables you to insert ActiveX controls into your dialog box.
1111

12-
### To see the ActiveX controls you have available
12+
The **Insert ActiveX Control** dialog box enables you to insert ActiveX controls into your dialog box while using the [Dialog editor](../windows/dialog-editor.md). This dialog contains the following properties:
13+
14+
|Property|Description|
15+
|---|---|
16+
|**ActiveX Control**|Displays a list of Active X controls. Inserting a control from this dialog box does not generate a wrapper class. If you need a wrapper class, use [Class View](/visualstudio/ide/viewing-the-structure-of-code) to create one (for more information, see [Adding a Class](../ide/adding-a-class-visual-cpp.md)). If an Active X control does not appear in this dialog box, try installing the control according to the vendor's instructions.|
17+
|**Path**|Displays the file in which the ActiveX control is found.|
18+
19+
You can place controls in the **Toolbox** window for easy access. For more information, see [Toolbox](/visualstudio/ide/reference/).
20+
21+
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).
22+
23+
## To see the ActiveX controls you have available
1324

1425
1. Open a dialog box in the Dialog editor.
1526

16-
2. Right click anywhere in the body of the dialog box.
27+
1. Right-click anywhere in the body of the dialog box.
1728

18-
3. On the shortcut menu, click **Insert ActiveX Control**.
29+
1. On the shortcut menu, select **Insert ActiveX Control**.
1930

20-
The [Insert ActiveX Control dialog box](../windows/insert-activex-control-dialog-box.md) appears, showing all the ActiveX controls on your system. At the bottom of the dialog box, the path to the ActiveX Control file appears.
31+
The **Insert ActiveX Control** dialog box appears, showing all the ActiveX controls on your system. At the bottom of the dialog box, the path to the ActiveX Control file appears.
2132

22-
### To add an ActiveX control to a dialog box
33+
## To add an ActiveX control to a dialog box
2334

24-
1. In the [Insert ActiveX Control dialog box](../windows/insert-activex-control-dialog-box.md), select the control you want to add to your dialog box and click **OK**.
35+
1. In the **Insert ActiveX Control** dialog box, select the control you want to add to your dialog box and select **OK**.
2536

2637
The control appears in the dialog box, where you can edit it or create handlers for it just as you would any other control.
2738

@@ -33,7 +44,20 @@ Visual Studio enables you to insert ActiveX controls into your dialog box.
3344
3445
You can place controls in the **Toolbox** window for easy access. For more information, see [Toolbox](/visualstudio/ide/reference/toolbox).
3546

36-
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).
47+
## To edit properties for an ActiveX control
48+
49+
ActiveX controls supplied by independent vendors may come equipped with their own properties and characteristics. Properties for ActiveX controls are displayed in the **Properties** window. In addition, any property pages created by the writers of the ActiveX control are displayed in the **Properties Pages** dialog box (to view the **Property Page** for a specific ActiveX control, click the **Property Page** button in the [Properties Window](/visualstudio/ide/reference/properties-window)).
50+
51+
Various tabs are displayed in the property page for an ActiveX control, depending on the property sheets that come as part of the ActiveX control.
52+
53+
> [!NOTE]
54+
> The following procedure applies to using the property page to edit ActiveX controls. You can also browse and edit ActiveX properties in the new **Properties** window.
55+
56+
1. Select the **ActiveX** control.
57+
58+
1. On the **View** menu, select **Property Page** and view the properties.
59+
60+
1. Make changes as needed in the property page.
3761

3862
## Requirements
3963

@@ -43,4 +67,7 @@ Win32
4367

4468
[Controls in Dialog Boxes](../windows/controls-in-dialog-boxes.md)<br/>
4569
[MFC ActiveX Controls](../mfc/mfc-activex-controls.md)<br/>
46-
[ActiveX Control Containers](../mfc/activex-control-containers.md)
70+
[ActiveX Control Containers](../mfc/activex-control-containers.md)<br/>
71+
[Viewing and Adding ActiveX Controls to a Dialog Box](../windows/viewing-and-adding-activex-controls-to-a-dialog-box.md)<br/>
72+
[Dialog Editor Tab, Toolbox](../windows/dialog-editor-tab-toolbox.md)<br/>
73+
[Resource Files](../windows/resource-files-visual-studio.md)<br/>

0 commit comments

Comments
 (0)