Skip to content

Commit 1d9f134

Browse files
author
Colin Robertson
committed
Fix Markdig issues in ide
1 parent a1ec6ef commit 1d9f134

File tree

141 files changed

+4111
-3813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+4111
-3813
lines changed

docs/ide/add-class-dialog-box.md

Lines changed: 65 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -13,66 +13,69 @@ ms.author: "mblome"
1313
ms.workload: ["cplusplus"]
1414
---
1515
# Add Class Dialog Box
16-
The **Add Class** dialog box contains templates that allow you to:
17-
18-
- Open a corresponding code wizard, if one is available. For more information, see [Adding Functionality with Code Wizards](../ide/adding-functionality-with-code-wizards-cpp.md).
19-
20-
\- or -
21-
22-
- Automatically create your new class by adding the appropriate files and source code to your project.
23-
24-
You can access the **Add Class** dialog box from the **Project** menu, **Solution Explorer**, or [Class View](/visualstudio/ide/viewing-the-structure-of-code).
25-
16+
17+
The **Add Class** dialog box contains templates that allow you to:
18+
19+
- Open a corresponding code wizard, if one is available. For more information, see [Adding Functionality with Code Wizards](../ide/adding-functionality-with-code-wizards-cpp.md).
20+
21+
\- or -
22+
23+
- Automatically create your new class by adding the appropriate files and source code to your project.
24+
25+
You can access the **Add Class** dialog box from the **Project** menu, **Solution Explorer**, or [Class View](/visualstudio/ide/viewing-the-structure-of-code).
26+
2627
> [!NOTE]
27-
> When you attempt to add a class that is not suited to your current project, you will receive an error message. Click **OK** to return to the **Add Class** dialog box.
28-
29-
## Add Class Templates
30-
There are four categories of **Add Class** templates: .NET, ATL, MFC, and Generic. When you select a template in the **Templates** pane, text describing your selection will appear under the **Categories** and **Templates** panes.
31-
32-
### .NET
33-
34-
|Template|Wizard|
35-
|--------------|------------|
36-
|ASP.NET Web Service|Not available|
37-
|Component Class (.NET)|Not available|
38-
|Installer Class (.NET)|Not available|
39-
|User Control (.NET)|Not available|
40-
|Windows Form (.NET)|Not available|
41-
42-
### ATL
43-
44-
|Template|Wizard|
45-
|--------------|------------|
46-
|Add ATL Support to MFC|Not available|
47-
|ATL Active Server Page Component|[ATL Active Server Page Component Wizard](../atl/reference/atl-active-server-page-component-wizard.md)|
48-
|ATL Control|[ATL Control Wizard](../atl/reference/atl-control-wizard.md)|
49-
|ATL Dialog|[ATL Dialog Wizard](../atl/reference/atl-dialog-wizard.md)|
50-
|ATL COM+ 1.0 Component|[ATL COM+ 1.0 Component Wizard](../atl/reference/atl-com-plus-1-0-component-wizard.md)|
51-
|ATL OLEDB Consumer|[ATL OLE DB Consumer Wizard](../atl/reference/atl-ole-db-consumer-wizard.md)|
52-
|ATL OLEDB Provider|[ATL OLE DB Provider Wizard](../atl/reference/atl-ole-db-provider-wizard.md)|
53-
|ATL Property Page|[ATL Property Page Wizard](../atl/reference/atl-property-page-wizard.md)|
54-
|ATL Simple Object|[ATL Simple Object Wizard](../atl/reference/atl-simple-object-wizard.md)|
55-
|WMI Event Provider|WMI Event Provider Wizard|
56-
|WMI Instance Provider|WMI Instance Provider Wizard|
57-
58-
### MFC
59-
60-
|Template|Wizard|
61-
|--------------|------------|
62-
|MFC Class|[MFC Add Class Wizard](../mfc/reference/mfc-add-class-wizard.md)|
63-
|MFC Class From ActiveX Control|[Add Class From ActiveX Control Wizard](../ide/add-class-from-activex-control-wizard.md)|
64-
|MFC Class From TypeLib|[Add Class From Typelib Wizard](../mfc/reference/add-class-from-typelib-wizard.md)|
65-
|MFC ODBC Consumer|[MFC ODBC Consumer Wizard](../mfc/reference/mfc-odbc-consumer-wizard.md)|
66-
67-
### Generic Classes
68-
69-
|Template|Wizard|
70-
|--------------|------------|
71-
|Generic C++ Class|[Generic C++ Class Wizard](../ide/generic-cpp-class-wizard.md)|
72-
73-
## See Also
74-
[Adding a Member Function](../ide/adding-a-member-function-visual-cpp.md)
75-
[Adding a Member Variable](../ide/adding-a-member-variable-visual-cpp.md)
76-
[Overriding a Virtual Function](../ide/overriding-a-virtual-function-visual-cpp.md)
77-
[MFC Message Handler](../mfc/reference/adding-an-mfc-message-handler.md)
78-
[Navigating the Class Structure](../ide/navigating-the-class-structure-visual-cpp.md)
28+
> When you attempt to add a class that is not suited to your current project, you will receive an error message. Click **OK** to return to the **Add Class** dialog box.
29+
30+
## Add Class Templates
31+
32+
There are four categories of **Add Class** templates: .NET, ATL, MFC, and Generic. When you select a template in the **Templates** pane, text describing your selection will appear under the **Categories** and **Templates** panes.
33+
34+
### .NET
35+
36+
|Template|Wizard|
37+
|--------------|------------|
38+
|ASP.NET Web Service|Not available|
39+
|Component Class (.NET)|Not available|
40+
|Installer Class (.NET)|Not available|
41+
|User Control (.NET)|Not available|
42+
|Windows Form (.NET)|Not available|
43+
44+
### ATL
45+
46+
|Template|Wizard|
47+
|--------------|------------|
48+
|Add ATL Support to MFC|Not available|
49+
|ATL Active Server Page Component|[ATL Active Server Page Component Wizard](../atl/reference/atl-active-server-page-component-wizard.md)|
50+
|ATL Control|[ATL Control Wizard](../atl/reference/atl-control-wizard.md)|
51+
|ATL Dialog|[ATL Dialog Wizard](../atl/reference/atl-dialog-wizard.md)|
52+
|ATL COM+ 1.0 Component|[ATL COM+ 1.0 Component Wizard](../atl/reference/atl-com-plus-1-0-component-wizard.md)|
53+
|ATL OLEDB Consumer|[ATL OLE DB Consumer Wizard](../atl/reference/atl-ole-db-consumer-wizard.md)|
54+
|ATL OLEDB Provider|[ATL OLE DB Provider Wizard](../atl/reference/atl-ole-db-provider-wizard.md)|
55+
|ATL Property Page|[ATL Property Page Wizard](../atl/reference/atl-property-page-wizard.md)|
56+
|ATL Simple Object|[ATL Simple Object Wizard](../atl/reference/atl-simple-object-wizard.md)|
57+
|WMI Event Provider|WMI Event Provider Wizard|
58+
|WMI Instance Provider|WMI Instance Provider Wizard|
59+
60+
### MFC
61+
62+
|Template|Wizard|
63+
|--------------|------------|
64+
|MFC Class|[MFC Add Class Wizard](../mfc/reference/mfc-add-class-wizard.md)|
65+
|MFC Class From ActiveX Control|[Add Class From ActiveX Control Wizard](../ide/add-class-from-activex-control-wizard.md)|
66+
|MFC Class From TypeLib|[Add Class From Typelib Wizard](../mfc/reference/add-class-from-typelib-wizard.md)|
67+
|MFC ODBC Consumer|[MFC ODBC Consumer Wizard](../mfc/reference/mfc-odbc-consumer-wizard.md)|
68+
69+
### Generic Classes
70+
71+
|Template|Wizard|
72+
|--------------|------------|
73+
|Generic C++ Class|[Generic C++ Class Wizard](../ide/generic-cpp-class-wizard.md)|
74+
75+
## See Also
76+
77+
[Adding a Member Function](../ide/adding-a-member-function-visual-cpp.md)<br>
78+
[Adding a Member Variable](../ide/adding-a-member-variable-visual-cpp.md)<br>
79+
[Overriding a Virtual Function](../ide/overriding-a-virtual-function-visual-cpp.md)<br>
80+
[MFC Message Handler](../mfc/reference/adding-an-mfc-message-handler.md)<br>
81+
[Navigating the Class Structure](../ide/navigating-the-class-structure-visual-cpp.md)

docs/ide/add-class-from-activex-control-wizard.md

Lines changed: 55 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -14,62 +14,63 @@ ms.workload: ["cplusplus"]
1414
---
1515
# Add Class From ActiveX Control Wizard
1616

17-
Use this wizard to add an MFC class from an available ActiveX control. The wizard creates a class for each interface you add from the selected ActiveX control.
18-
19-
- **Add Class From**
17+
Use this wizard to add an MFC class from an available ActiveX control. The wizard creates a class for each interface you add from the selected ActiveX control.
18+
19+
- **Add Class From**
20+
21+
Specifies the location of the type library, from which the class is created.
2022

21-
Specifies the location of the type library, from which the class is created.
22-
2323
|Option|Description|
2424
|------------|-----------------|
2525
|**Registry**|The type library is registered in the system. Registered type libraries are listed in **Available ActiveX controls**.|
2626
|**File**|The type library is not necessarily registered in the system but is contained in a file. You must provide the file location in **Location**.|
27-
28-
- **Available ActiveX controls**
29-
30-
Specifies the ActiveX controls currently registered in the system. Select an ActiveX control from this list to display its interfaces in the **Interfaces** list. See [MFC ActiveX Controls: Distributing ActiveX Controls](../mfc/mfc-activex-controls-distributing-activex-controls.md) for more information about registering ActiveX controls.
31-
32-
If you click **File** under **Add Class From**, this box is unavailable for change.
33-
34-
- **Location**
35-
36-
Specifies the location of the ActiveX control. If you click **File** under **Add Class From**, you can provide the location of the file containing the type library. To browse to the location of the file, click the ellipsis button.
37-
38-
If you click **Registry** under **Add Class From**, this box is unavailable for change.
39-
40-
- **Interfaces**
41-
42-
Specifies the interfaces in the ActiveX control currently selected in **Available ActiveX controls** or in the type library in the file specified in **Location**.
43-
44-
|Transfer button|Description|
45-
|---------------------|-----------------|
46-
|**>**|Adds the interface currently selected in the **Interfaces** list. Unavailable if no interface is selected.|
47-
|**>>**|Adds all the interfaces in the ActiveX control currently selected in **Available ActiveX controls** or in the type library in the file specified in **Location**.|
48-
|**\<**|Removes the class currently selected in the **Generated classes** list. Unavailable if no class is currently selected in the **Generated classes** list.|
49-
|**\<\<**|Removes all the classes in the **Generated classes** list. Unavailable if the **Generated classes** list is empty.|
50-
51-
- **Generated classes**
52-
53-
Specifies the class names to be generated from the interfaces added using the **>** or **>>** button. You can click this box to select a class, and then use the up or down keys to scroll through the list, viewing each class name in the `Class` box and file name in the **.h file** box that the wizard generates when you click **Finish**. You can select only one class at a time in this box.
54-
55-
You can remove a class by selecting it in this list and clicking **<**. You do not need to select a class in the **Generated classes** box to remove all classes; by clicking **<<**, you remove all classes in the **Generated classes** box.
56-
57-
- **Class**
58-
59-
Specifies the name of the class selected in the **Generated classes** box that the wizard adds when you click **Finish**. You can edit the name in the **Class** box.
60-
61-
- **.h file**
62-
63-
Sets the name of the header file for the new object's class. By default, this name is based on the name you provide in **Generated classes**. Click the ellipsis button to save the file name to the location of your choice, or to append the class declaration to an existing file. If you choose an existing file, the wizard will not save it to the selected location until you click **Finish** in the wizard.
64-
65-
The wizard does not overwrite a file. If you select the name of an existing file, when you click **Finish**, the wizard prompts you to indicate whether the class declaration should be appended to the contents of the file. Click **Yes** to append the file; click **No** to return to the wizard and specify another file name.
66-
67-
- **.cpp file**
68-
69-
Sets the name of the implementation file for the new object's class. By default, this name is based on the name you provide in **Generated classes**. Click the ellipsis button to save the file name to the location of your choice. The file is not saved to the selected location until you click **Finish** in the wizard.
70-
71-
The wizard does not overwrite a file. If you select the name of an existing file, when you click **Finish**, the wizard prompts you to indicate whether the class implementation should be appended to the contents of the file. Click **Yes** to append the file; click **No** to return to the wizard and specify another file name.
72-
73-
## See Also
74-
[Adding a Class from an ActiveX Control](../ide/adding-a-class-from-an-activex-control-visual-cpp.md)
75-
[Automation Clients: Using Type Libraries](../mfc/automation-clients-using-type-libraries.md)
27+
28+
- **Available ActiveX controls**
29+
30+
Specifies the ActiveX controls currently registered in the system. Select an ActiveX control from this list to display its interfaces in the **Interfaces** list. See [MFC ActiveX Controls: Distributing ActiveX Controls](../mfc/mfc-activex-controls-distributing-activex-controls.md) for more information about registering ActiveX controls.
31+
32+
If you click **File** under **Add Class From**, this box is unavailable for change.
33+
34+
- **Location**
35+
36+
Specifies the location of the ActiveX control. If you click **File** under **Add Class From**, you can provide the location of the file containing the type library. To browse to the location of the file, click the ellipsis button.
37+
38+
If you click **Registry** under **Add Class From**, this box is unavailable for change.
39+
40+
- **Interfaces**
41+
42+
Specifies the interfaces in the ActiveX control currently selected in **Available ActiveX controls** or in the type library in the file specified in **Location**.
43+
44+
|Transfer button|Description|
45+
|---------------------|-----------------|
46+
|**>**|Adds the interface currently selected in the **Interfaces** list. Unavailable if no interface is selected.|
47+
|**>>**|Adds all the interfaces in the ActiveX control currently selected in **Available ActiveX controls** or in the type library in the file specified in **Location**.|
48+
|**\<**|Removes the class currently selected in the **Generated classes** list. Unavailable if no class is currently selected in the **Generated classes** list.|
49+
|**\<\<**|Removes all the classes in the **Generated classes** list. Unavailable if the **Generated classes** list is empty.|
50+
51+
- **Generated classes**
52+
53+
Specifies the class names to be generated from the interfaces added using the **>** or **>>** button. You can click this box to select a class, and then use the up or down keys to scroll through the list, viewing each class name in the `Class` box and file name in the **.h file** box that the wizard generates when you click **Finish**. You can select only one class at a time in this box.
54+
55+
You can remove a class by selecting it in this list and clicking **<**. You do not need to select a class in the **Generated classes** box to remove all classes; by clicking **<<**, you remove all classes in the **Generated classes** box.
56+
57+
- **Class**
58+
59+
Specifies the name of the class selected in the **Generated classes** box that the wizard adds when you click **Finish**. You can edit the name in the **Class** box.
60+
61+
- **.h file**
62+
63+
Sets the name of the header file for the new object's class. By default, this name is based on the name you provide in **Generated classes**. Click the ellipsis button to save the file name to the location of your choice, or to append the class declaration to an existing file. If you choose an existing file, the wizard will not save it to the selected location until you click **Finish** in the wizard.
64+
65+
The wizard does not overwrite a file. If you select the name of an existing file, when you click **Finish**, the wizard prompts you to indicate whether the class declaration should be appended to the contents of the file. Click **Yes** to append the file; click **No** to return to the wizard and specify another file name.
66+
67+
- **.cpp file**
68+
69+
Sets the name of the implementation file for the new object's class. By default, this name is based on the name you provide in **Generated classes**. Click the ellipsis button to save the file name to the location of your choice. The file is not saved to the selected location until you click **Finish** in the wizard.
70+
71+
The wizard does not overwrite a file. If you select the name of an existing file, when you click **Finish**, the wizard prompts you to indicate whether the class implementation should be appended to the contents of the file. Click **Yes** to append the file; click **No** to return to the wizard and specify another file name.
72+
73+
## See Also
74+
75+
[Adding a Class from an ActiveX Control](../ide/adding-a-class-from-an-activex-control-visual-cpp.md)<br>
76+
[Automation Clients: Using Type Libraries](../mfc/automation-clients-using-type-libraries.md)

0 commit comments

Comments
 (0)