Skip to content

Commit 0f393cb

Browse files
authored
Merge pull request MicrosoftDocs#1337 from mikeblome/mb-activex
Updates to MFC ActiveX topics
2 parents 0f6d997 + 6ce6280 commit 0f393cb

File tree

39 files changed

+166
-139
lines changed

39 files changed

+166
-139
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@
155155
"redirect_url": "/cpp/build/linking-an-executable-to-a-dll#linking-implicitly",
156156
"redirect_document_id": false
157157
},
158+
{
159+
"source_path": "docs/mfc/active-documents-on-the-internet.md",
160+
"redirect_url": "/cpp/mfc/activex-controls",
161+
"redirect_document_id": false
162+
},
158163
{
159164
"source_path": "docs/build/naming-conventions-for-mfc-dlls.md",
160165
"redirect_url": "/cpp/mfc/mfc-library-versions#mfc-static-library-naming-conventions",

docs/mfc/TOC.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@
141141
### [Writing MFC Applications](writing-mfc-applications.md)
142142
### [ActiveX Controls on the Internet](activex-controls-on-the-internet.md)
143143
### [Upgrading an Existing ActiveX Control](upgrading-an-existing-activex-control.md)
144-
### [Active Documents on the Internet](active-documents-on-the-internet.md)
145144
### [Asynchronous Monikers on the Internet](asynchronous-monikers-on-the-internet.md)
146145
### [Testing Internet Applications](testing-internet-applications.md)
147146
### [Internet Security (C++)](internet-security-cpp.md)

docs/mfc/active-documents-on-the-internet.md

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

docs/mfc/active-technology-on-the-internet.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Active Technology on the Internet | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "09/12/2018"
55
ms.technology: ["cpp-mfc"]
66
ms.topic: "conceptual"
77
dev_langs: ["C++"]
@@ -13,13 +13,13 @@ ms.workload: ["cplusplus"]
1313
---
1414
# Active Technology on the Internet
1515
Active technology is an open platform that lets developers create exciting, dynamic content and applications for the global Internet, or for a company's internal network, known as an intranet. The major technologies provided by Microsoft for Internet programming are described below.
16+
17+
>[!IMPORTANT]
18+
> ActiveX is a legacy technology that should not be used for new development. For more information about modern technologies that supercede ActiveX, see [ActiveX Controls](activex-controls.md).
1619
1720
## ActiveX Controls
1821
ActiveX controls (formerly OLE controls) are objects that can be inserted into Web pages or any other application that is an ActiveX control container. Examples include buttons, stock tickers, and chart controls. For more information, see [ActiveX Controls on the Internet](../mfc/activex-controls-on-the-internet.md).
1922

20-
## Active Documents
21-
Active documents can be displayed by Web browsers or document viewers. Traditional embedded objects were limited to one page and were shown embedded in the document. With Active technology, the document can be displayed full frame in the entire client area window. For more information, see [Active Documents on the Internet](../mfc/active-documents-on-the-internet.md).
22-
2323
## Internet Data Download Services
2424
Data can be downloaded over the Internet using common protocols: HTTP, FTP, and gopher. The MFC WinInet classes make it easy to transfer data using HTTP, FTP, and gopher protocols by abstracting the TCP/IP and WinSock protocols. The MFC asynchronous moniker classes provide a way to download files without blocking and to render large objects asynchronously. For more information, see [Win32 Internet Extensions (WinInet)](../mfc/win32-internet-extensions-wininet.md).
2525

@@ -32,6 +32,5 @@ Active technology is an open platform that lets developers create exciting, dyna
3232
## See Also
3333
[MFC Internet Programming Basics](../mfc/mfc-internet-programming-basics.md)
3434
[ActiveX Controls on the Internet](../mfc/activex-controls-on-the-internet.md)
35-
[Active Documents on the Internet](../mfc/active-documents-on-the-internet.md)
3635
[Win32 Internet Extensions (WinInet)](../mfc/win32-internet-extensions-wininet.md)
3736

docs/mfc/activex-control-containers-handling-events-from-an-activex-control.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ActiveX Control Containers: Handling Events from an ActiveX Control | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "09/12/2018"
55
ms.technology: ["cpp-mfc"]
66
ms.topic: "conceptual"
77
dev_langs: ["C++"]
@@ -12,7 +12,11 @@ ms.author: "mblome"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# ActiveX Control Containers: Handling Events from an ActiveX Control
15-
This article discusses using the Properties window to install event handlers for ActiveX controls in an ActiveX control container. The event handlers are used to receive notifications (from the control) of certain events and perform some action in response. This notification is called "firing" the event.
15+
This article discusses using the Properties window to install event handlers for ActiveX controls in an ActiveX control container. The event handlers are used to receive notifications (from the control) of certain events and perform some action in response. This notification is called "firing" the event.
16+
17+
>[!IMPORTANT]
18+
> ActiveX is a legacy technology that should not be used for new development. For more information about modern technologies that supercede ActiveX, see [ActiveX Controls](activex-controls.md).
19+
1620

1721
> [!NOTE]
1822
> This article uses a dialog-based ActiveX control container project named Container and an embedded control named Circ as examples in the procedures and code.

docs/mfc/activex-control-containers-manually-enabling-activex-control-containment.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ActiveX Control Containers: Manually Enabling ActiveX Control Containment | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "09/12/2018"
55
ms.technology: ["cpp-mfc"]
66
ms.topic: "conceptual"
77
dev_langs: ["C++"]
@@ -12,7 +12,10 @@ ms.author: "mblome"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# ActiveX Control Containers: Manually Enabling ActiveX Control Containment
15-
If you did not enable ActiveX control support when you used the MFC Application Wizard to generate your application, you will have to add this support manually. This article describes the process for manually adding ActiveX control containment to an existing OLE container application. If you know in advance that you want ActiveX control support in your OLE container, see the article [Creating an MFC ActiveX Control Container](../mfc/reference/creating-an-mfc-activex-control-container.md).
15+
If you did not enable ActiveX control support when you used the MFC Application Wizard to generate your application, you will have to add this support manually. This article describes the process for manually adding ActiveX control containment to an existing OLE container application. If you know in advance that you want ActiveX control support in your OLE container, see the article [Creating an MFC ActiveX Control Container](../mfc/reference/creating-an-mfc-activex-control-container.md).
16+
17+
>[!IMPORTANT]
18+
> ActiveX is a legacy technology that should not be used for new development. For more information about modern technologies that supercede ActiveX, see [ActiveX Controls](activex-controls.md).
1619
1720
> [!NOTE]
1821
> This article uses a dialog-based ActiveX control container project named Container and an embedded control named Circ as examples in the procedures and code.

docs/mfc/activex-control-containers.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ActiveX Control Containers | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "09/12/2018"
55
ms.technology: ["cpp-mfc"]
66
ms.topic: "conceptual"
77
dev_langs: ["C++"]
@@ -13,6 +13,9 @@ ms.workload: ["cplusplus"]
1313
---
1414
# ActiveX Control Containers
1515
An ActiveX control container is a container that fully supports ActiveX controls and can incorporate them into its own windows or dialogs. An ActiveX control is a reusable software element that you can use in many development projects. Controls allow your application's user to access databases, monitor data, and make various selections within your applications. For more information on ActiveX controls, see the article [MFC ActiveX Controls](../mfc/mfc-activex-controls.md).
16+
17+
>[!IMPORTANT]
18+
> ActiveX is a legacy technology that should not be used for new development. For more information, see [ActiveX Controls](activex-controls.md).
1619
1720
Control containers typically take two forms in a project:
1821

docs/mfc/activex-controls-on-the-internet.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ActiveX Controls on the Internet | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "09/12/2018"
55
ms.technology: ["cpp-mfc"]
66
ms.topic: "conceptual"
77
dev_langs: ["C++"]
@@ -12,7 +12,13 @@ ms.author: "mblome"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# ActiveX Controls on the Internet
15-
ActiveX controls are the updated version of the OLE control specification. Controls are a primary architecture for developing programmable software components that can be used in a variety of different containers, including COM-aware Web browsers on the Internet. Any ActiveX control can be an Internet control and can add its functionality to an Active document or be part of a Web page. Controls on a Web page can communicate with each other using scripting.
15+
16+
ActiveX controls are the updated version of the OLE control specification.
17+
18+
>[!IMPORTANT]
19+
> ActiveX is a legacy technology that should not be used for new development. For more information, see [ActiveX Controls](activex-controls.md).
20+
21+
Controls are a primary architecture for developing programmable software components that can be used in a variety of different containers, including COM-aware Web browsers on the Internet. Any ActiveX control can be an Internet control and can add its functionality to an Active document or be part of a Web page. Controls on a Web page can communicate with each other using scripting.
1622

1723
ActiveX controls are not limited to the Internet. An ActiveX control can also be used in any container, as long as the control supports the interfaces required by that container.
1824

docs/mfc/activex-controls.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ActiveX Controls | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "09/12/2018"
55
ms.technology: ["cpp-mfc"]
66
ms.topic: "conceptual"
77
dev_langs: ["C++"]
@@ -13,7 +13,10 @@ ms.workload: ["cplusplus"]
1313
---
1414
# ActiveX Controls
1515
In Visual C++ you can create ActiveX controls using MFC or ATL.
16-
16+
17+
>[!IMPORTANT]
18+
> ActiveX is a legacy technology that should not be used for new development. Many capabilities of ActiveX controls can be performed in a simpler and much more secure way with modern technologies such as HTML5 and JavaScript, modern browser extensions, or WebAssembly modules. For more information, see [A break from the past, part 2: Saying goodbye to ActiveX, VBScript, attachEvent…](https://blogs.windows.com/msedgedev/2015/05/06/a-break-from-the-past-part-2-saying-goodbye-to-activex-vbscript-attachevent/) and [Native Messaging](/microsoft-edge/extensions/guides/native-messaging) and [Microsoft Edge extensions](/microsoft-edge/extensions) and [WebAssembly](https://webassembly.org/).
19+
1720
- [MFC ActiveX Controls](../mfc/mfc-activex-controls.md)
1821

1922
- [ATL](../atl/active-template-library-atl-concepts.md)

docs/mfc/containers-for-activex-controls.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Containers for ActiveX Controls | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "09/12/2018"
55
ms.technology: ["cpp-mfc"]
66
ms.topic: "conceptual"
77
dev_langs: ["C++"]
@@ -12,7 +12,10 @@ ms.author: "mblome"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# Containers for ActiveX Controls
15-
You can use ActiveX controls developed in Visual C++ in other applications, as long as they support ActiveX control containment. A number of Microsoft applications, beginning with the versions listed, support ActiveX control containment.
15+
You can use ActiveX controls developed in Visual C++ in other applications, as long as they support ActiveX control containment. A number of Microsoft applications, beginning with the versions listed, support ActiveX control containment.
16+
17+
>[!IMPORTANT]
18+
> ActiveX is a legacy technology that should not be used for new development. For more information about modern technologies that supercede ActiveX, see [ActiveX Controls](activex-controls.md).
1619
1720
> [!NOTE]
1821
> The following list is not a complete list of applications that support ActiveX controls but represents the set used most often in testing:

0 commit comments

Comments
 (0)