Skip to content

Commit 8a891c6

Browse files
authored
Merge pull request MicrosoftDocs#1991 from mikeblome/mb-mfc-version-updates
added versioning to topics where ATL/MFC wizards are removed from VS, part 1
2 parents ee3d2f5 + 09c8e8f commit 8a891c6

40 files changed

+332
-82
lines changed

docs/atl/adding-a-property-page-atl-tutorial-part-6.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ ms.assetid: df80d255-e7ea-49d9-b940-3f012e90cf9b
66
---
77
# Adding a Property Page (ATL Tutorial, Part 6)
88

9+
> [!NOTE]
10+
> The ATL OLE DB Provider wizard is not available in Visual Studio 2019 and later.
11+
912
Property pages are implemented as separate COM objects, which allow them to be shared if required. In this step, you will do the following tasks to add a property page to the control:
1013

1114
- Creating the Property Page Resource

docs/atl/example-implementing-a-property-page.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
---
22
title: "Implementing a Property Page (ATL)"
3-
ms.date: "11/19/2018"
3+
ms.date: "05/09/2019"
44
helpviewer_keywords: ["property pages, implementing"]
55
ms.assetid: c30b67fe-ce08-4249-ae29-f3060fa8d61e
66
---
77
# Example: Implementing a Property Page
88

9+
::: moniker range="vs-2019"
10+
11+
The ATL Property Page wizard is not available in Visual Studio 2019 and later.
12+
13+
::: moniker-end
14+
15+
::: moniker range="vs-2017"
16+
917
This example shows how to build a property page that displays (and allows you to change) properties of the [Document Classes](../mfc/document-classes.md) interface.
1018

1119
The example is based on the [ATLPages sample](../overview/visual-cpp-samples.md).
@@ -154,6 +162,8 @@ End Module
154162

155163
When you run this macro, the property page will be displayed showing the file name and read-only status of the currently active text document. The read-only state of the document only reflects the ability to write to the document in the development environment; it doesn't affect the read-only attribute of the file on disk.
156164

165+
::: moniker-end
166+
157167
## See also
158168

159169
[Property Pages](../atl/atl-com-property-pages.md)<br/>

docs/atl/implementing-property-pages.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ ms.assetid: 62f29440-33a7-40eb-a1ef-3634c95f640c
66
---
77
# Implementing Property Pages
88

9+
::: moniker range="vs-2019"
10+
11+
The ATL Property Page wizard is not available in Visual Studio 2019 and later.
12+
13+
::: moniker-end
14+
15+
::: moniker range="vs-2017"
16+
917
Property pages are COM objects that implement the `IPropertyPage` or `IPropertyPage2` interface. ATL provides support for implementing property pages through the [ATL Property Page Wizard](../atl/reference/atl-property-page-wizard.md) in the [Add Class dialog box](../ide/add-class-dialog-box.md).
1018

1119
To create a property page using ATL:
@@ -36,6 +44,8 @@ For an example property page implementation, see [Example: Implementing a Proper
3644
> [!NOTE]
3745
> If you want to host ActiveX controls in your property page, you will need to change the derivation of your wizard-generated class. Replace **CDialogImpl\<CYourClass>** with **CAxDialogImpl\<CYourClass>** in the list of base classes.
3846
47+
::: moniker-end
48+
3949
## See also
4050

4151
[Property Pages](../atl/atl-com-property-pages.md)<br/>

docs/atl/reference/adding-an-atl-ole-db-consumer.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
---
22
title: "Adding an ATL OLE DB Consumer"
3-
ms.date: "11/04/2016"
4-
helpviewer_keywords: ["ATL projects, adding ATL OLE DB consumers", "OLE DB, adding ATL OLE DB consumer to projects", "ATL OLE DB consumers"]
3+
ms.date: "05/09/2019"
4+
helpviewer_keywords: ["ATL OLE DB consumers"]
55
ms.assetid: f940a513-4e42-4148-b521-dd0d7dc89fa2
66
---
77
# Adding an ATL OLE DB Consumer
88

9+
::: moniker range="vs-2019"
10+
11+
The ATL OLE DB Consumer wizard is not available in Visual Studio 2019 and later. You can still add the functionality manually. For more information, see [Creating a Consumer Without Using a Wizard](../../data/oledb/creating-a-consumer-without-using-a-wizard.md).
12+
13+
::: moniker-end
14+
15+
::: moniker range="vs-2017"
16+
917
Use this wizard to add an ATL OLE DB consumer to a project. An ATL OLE DB consumer consists of an OLE DB accessor class and data bindings necessary to access a data source. The project must have been created as an ATL COM application, or as an MFC or Win32 application that contains ATL support (which the ATL OLE DB Consumer Wizard adds automatically).
1018

1119
> [!NOTE]
@@ -23,6 +31,8 @@ Use this wizard to add an ATL OLE DB consumer to a project. An ATL OLE DB consum
2331

2432
1. Click **Finish** to close the wizard. The newly created OLE DB consumer code will be inserted in your project.
2533

34+
::: moniker-end
35+
2636
## See also
2737

2838
[Adding Functionality with Code Wizards](../../ide/adding-functionality-with-code-wizards-cpp.md)

docs/atl/reference/adding-an-atl-ole-db-provider.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
---
22
title: "Adding an ATL OLE DB Provider"
3-
ms.date: "11/04/2016"
3+
ms.date: "05/09/2019"
44
helpviewer_keywords: ["OLE DB, adding ATL OLE DB provider to projects", "ATL projects, adding ATL OLE DB providers", "ATL OLE DB providers"]
55
ms.assetid: 26fba1e3-880f-4bc6-90e5-2096a48a3a6c
66
---
77
# Adding an ATL OLE DB Provider
88

9+
::: moniker range="vs-2019"
10+
11+
The ATL OLE DB Provider wizard is not available in Visual Studio 2019 and later.
12+
13+
::: moniker-end
14+
15+
::: moniker range="vs-2017"
16+
917
Use this wizard to add an ATL OLE DB provider to a project. An ATL OLE DB provider consists of a data source, session, command, and rowset classes. The project must have been created as an ATL COM application.
1018

1119
## To add an ATL OLE DB provider to your project
@@ -20,6 +28,8 @@ Use this wizard to add an ATL OLE DB provider to a project. An ATL OLE DB provid
2028

2129
1. Click **Finish** to close the wizard, which will insert the newly created OLE DB provider code in your project.
2230

31+
::: moniker-end
32+
2333
## See also
2434

2535
[Adding Functionality with Code Wizards](../../ide/adding-functionality-with-code-wizards-cpp.md)

docs/atl/reference/adding-an-atl-property-page.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
---
22
title: "Adding an ATL Property Page"
3-
ms.date: "11/04/2016"
3+
ms.date: "05/09/2019"
44
helpviewer_keywords: ["property pages, adding", "ATL projects, adding property pages", "controls [ATL], property pages"]
55
ms.assetid: ddf92b49-42a2-46d2-b6b8-d37baedebeca
66
---
77
# Adding an ATL Property Page
88

9+
> [!NOTE]
10+
> The ATL Property Page wizard is not available in Visual Studio 2019 and later.
11+
912
To add an Active Template Library (ATL) property page to your project, your project must have been created as an ATL application or as an MFC application that contains ATL support. You can use the [ATL Project Wizard](../../atl/reference/atl-project-wizard.md) to create an ATL application or [add an ATL object to your MFC application](../../mfc/reference/adding-atl-support-to-your-mfc-project.md) to implement ATL support for an MFC application.
1013

1114
If you are adding a property page for a control, your control must support the [ISpecifyPropertyPagesImpl](../../atl/reference/ispecifypropertypagesimpl-class.md) interface. By default, this interface is in the derivation list of your control class when you [create an ATL control](../../atl/reference/adding-an-atl-control.md) using the [ATL Control Wizard](../../atl/reference/atl-control-wizard.md).

docs/atl/reference/atl-active-server-page-component-wizard.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
---
22
title: "ATL Active Server Page Component Wizard"
3-
ms.date: "11/04/2016"
4-
f1_keywords: ["vc.codewiz.class.atl.asp.overview"]
5-
helpviewer_keywords: ["ASP components, creating in ATL", "ATL Active Server Page Component Wizard"]
3+
ms.date: "05/09/2019"
4+
helpviewer_keywords: ["ASP components, creating in ATL"]
65
ms.assetid: 5a5cb904-dbbf-44ea-ad3d-2ddd14c1d3c5
76
---
87
# ATL Active Server Page Component Wizard
98

9+
::: moniker range="vs-2019"
10+
11+
This wizard is not available in Visual Studio 2019 and later.
12+
13+
::: moniker-end
14+
15+
::: moniker range="vs-2017"
16+
1017
This wizard inserts into the project an Active Server Pages (ASP) component. The Microsoft Internet Information Services (IIS) uses ASP components as part of its enhanced Web page development architecture.
1118

1219
By using this wizard, you can specify the component's threading model and its aggregation support. You can also indicate support for the error information interface, connection points, and free-threaded marshaling.
1320

14-
> [!WARNING]
15-
> In Visual Studio 2017 version 15.9 this code wizard is deprecated and will be removed in a future version of Visual Studio. This wizard is rarely used. General support for ATL and MFC is not impacted by the removal of this wizard. If you would like to share your feedback about this deprecation, please complete [this survey](https://www.surveymonkey.com/r/QDWKKCN). Your feedback matters to us.
16-
1721
## Remarks
1822

19-
Beginning with Visual Studio 2008, the registration script produced by this wizard will register its COM components under **HKEY_CURRENT_USER** instead of **HKEY_LOCAL_MACHINE**. To modify this behavior, set the **Register component for all users** option of the ATL Wizard.
23+
Beginning with Visual Studio 2008, the registration script produced by this wizard registers its COM components under **HKEY_CURRENT_USER** instead of **HKEY_LOCAL_MACHINE**. To modify this behavior, set the **Register component for all users** option of the ATL Wizard.
2024

2125
## Names
2226

@@ -78,6 +82,8 @@ Provides information about the COM functionality for the object.
7882

7983
Sets the name that containers can use instead of the CLSID of the object.
8084

85+
::: moniker-end
86+
8187
## See also
8288

8389
[ATL Active Server Page Component](../../atl/reference/adding-an-atl-active-server-page-component.md)

docs/atl/reference/atl-com-plus-1-0-component-wizard.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
---
22
title: "ATL COM+ 1.0 Component Wizard"
3-
ms.date: "10/03/2018"
4-
f1_keywords: ["vc.codewiz.class.atl.mts.overview"]
5-
helpviewer_keywords: ["ATL projects, adding components", "ATL COM+ 1.0 Component Wizard"]
3+
ms.date: "05/08/2019"
4+
helpviewer_keywords: ["ATL projects, adding components"]
65
ms.assetid: 11670681-8671-4122-96a4-2e52f8dadce0
76
---
87
# ATL COM+ 1.0 Component Wizard
98

9+
::: moniker range="vs-2019"
10+
11+
This wizard is not available in Visual Studio 2019 and later.
12+
13+
::: moniker-end
14+
15+
::: moniker range="vs-2017"
16+
1017
Use this wizard to add an object to your project that supports COM+ 1.0 services, including transactions.
1118

1219
You can specify whether the object supports dual interfaces and Automation. You can also indicate support for the error information interface, enhanced object control, transactions, and asynchronous message queuing.
1320

14-
> [!WARNING]
15-
> In Visual Studio 2017 version 15.9 this code wizard is deprecated and will be removed in a future version of Visual Studio. This wizard is rarely used. General support for ATL and MFC is not impacted by the removal of this wizard. If you would like to share your feedback about this deprecation, please complete [this survey](https://www.surveymonkey.com/r/QDWKKCN). Your feedback matters to us.
16-
1721
## Remarks
1822

1923
Beginning with Visual Studio 2008, the registration script produced by this wizard will register its COM components under **HKEY_CURRENT_USER** instead of **HKEY_LOCAL_MACHINE**. To modify this behavior, set the **Register component for all users** option of the ATL Wizard.
@@ -74,6 +78,8 @@ Provides information about the COM functionality for the object.
7478
- **ProgID**
7579

7680
Sets the name that containers can use instead of the CLSID of the object.
81+
82+
::: moniker-end
7783

7884
## See also
7985

docs/atl/reference/atl-ole-db-consumer-wizard.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
---
22
title: "ATL OLE DB Consumer Wizard"
3-
ms.date: "08/31/2018"
4-
f1_keywords: ["vc.codewiz.class.atl.consumer.overview"]
5-
helpviewer_keywords: ["ATL projects, adding ATL OLE DB consumers", "connection strings [C++], OLE DB consumers", "ATL OLE DB Consumer Wizard"]
3+
ms.date: "05/09/2019"
4+
helpviewer_keywords: ["ATL projects, adding ATL OLE DB consumers"]
65
ms.assetid: dcb68ed1-2224-422f-9f7b-108a74864204
76
---
87
# ATL OLE DB Consumer Wizard
98

9+
::: moniker range="vs-2019"
10+
11+
This wizard is not available in Visual Studio 2019 and later.
12+
13+
::: moniker-end
14+
15+
::: moniker range="vs-2017"
16+
1017
This wizard sets up an OLE DB consumer class with the data bindings necessary to access the specified data source through the specified OLE DB provider.
1118

1219
> [!NOTE]
@@ -171,6 +178,8 @@ This wizard sets up an OLE DB consumer class with the data bindings necessary to
171178

172179
Specifies that the consumer support deletion of rows from the rowset.
173180

181+
::: moniker-end
182+
174183
## See also
175184

176185
[ATL OLE DB Consumer](../../atl/reference/adding-an-atl-ole-db-consumer.md)<br/>

docs/atl/reference/atl-ole-db-provider-wizard.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
---
22
title: "ATL OLE DB Provider Wizard"
3-
ms.date: "10/03/2018"
4-
f1_keywords: ["vc.codewiz.class.atl.provider.overview"]
5-
helpviewer_keywords: ["ATL OLE DB Provider Wizard", "ATL projects, adding ATL OLE DB providers"]
3+
ms.date: "05/09/2019"
4+
helpviewer_keywords: ["ATL projects, adding ATL OLE DB providers"]
65
ms.assetid: cf91ba78-01d1-4d12-b673-e95d96bfbebe
76
---
87
# ATL OLE DB Provider Wizard
98

10-
This wizard creates the classes that compose an OLE DB provider.
9+
::: moniker range="vs-2019"
1110

12-
> [!WARNING]
13-
> In Visual Studio 2017 version 15.9 this code wizard is deprecated and will be removed in a future version of Visual Studio. This wizard is rarely used. General support for ATL and MFC is not impacted by the removal of this wizard. If you would like to share your feedback about this deprecation, please complete [this survey](https://www.surveymonkey.com/r/QDWKKCN). Your feedback matters to us.
11+
This wizard is not available in Visual Studio 2019 and later.
12+
13+
::: moniker-end
14+
15+
::: moniker range="vs-2017"
1416

1517
## Remarks
1618

@@ -76,6 +78,8 @@ The following table describes the options for the ATL OLE DB Provider Wizard:
7678

7779
The provider's implementation file. You can edit this file's name or select an existing implementation file.
7880

81+
::: moniker-end
82+
7983
## See also
8084

8185
[ATL OLE DB Provider](../../atl/reference/adding-an-atl-ole-db-provider.md)

0 commit comments

Comments
 (0)