Skip to content

Commit 43e61de

Browse files
TylerMSFTTylerMSFT
authored andcommitted
clarify project types the wizard applies to
1 parent a426e91 commit 43e61de

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/ide/adding-a-class-from-an-activex-control-visual-cpp.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ title: "Add a class from an ActiveX control"
44
ms.date: "03/01/2022"
55
f1_keywords: ["vc.codewiz.class.axcontrol"]
66
helpviewer_keywords: ["ActiveX controls [C++], adding classes", "classes [C++], creating", "ActiveX Control Wizard", "add class from ActiveX control wizard [C++]"]
7-
ms.assetid: 729fcb37-54b8-44d5-9b4e-50bb16e0eea4
87
ms.custom: devdivchpfy22
98
---
109
# Add a class from an ActiveX control
1110

12-
Use this wizard to create an MFC class from an interface in an available ActiveX control. You can add an MFC class to an [MFC application](../mfc/reference/creating-an-mfc-application.md), an [MFC DLL](../mfc/reference/creating-an-mfc-dll-project.md), or an [MFC ActiveX control](../mfc/reference/creating-an-mfc-activex-control.md).
11+
Use this wizard to create an MFC class from an interface in an available ActiveX control. For this wizard to be available, you must have Visual Studio 2019 or later, and be in one of the following project types: [MFC application](../mfc/reference/creating-an-mfc-application.md), [MFC DLL](../mfc/reference/creating-an-mfc-dll-project.md), or [MFC ActiveX control](../mfc/reference/creating-an-mfc-activex-control.md).
1312

1413
> [!NOTE]
1514
> You don't need to create your MFC project with Automation enabled to add a class from an ActiveX control.
@@ -30,10 +29,6 @@ You can add classes from ActiveX controls registered in your system, or you can
3029

3130
The wizard creates an MFC class, derived from [CWnd](../mfc/reference/cwnd-class.md) or from [COleDispatchDriver](../mfc/reference/coledispatchdriver-class.md), for each interface you add from the selected ActiveX control.
3231

33-
## In this section
34-
35-
- [Add class from ActiveX control wizard](#add-class-from-activex-control-wizard)
36-
3732
## Add class from ActiveX control wizard
3833

3934
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.

0 commit comments

Comments
 (0)