---
title: "ActiveX Controls in Visual C"  
description: "Active controls are specially designed to be embedded in programs, and especially in web pages that browsers can display. Creating active controls mea"  
author: "Amit Singh"  
published: 2011-05-08  
updated: 2014-09-18  
canonical: https://www.mindstick.com/blog/160/activex-controls-in-visual-c  
category: "visual c++"  
tags: ["visual c++"]  
reading_time: 2 minutes  

---

# ActiveX Controls in Visual C

**Active controls** are [specially designed](https://answers.mindstick.com/qa/47847/what-informal-name-is-given-to-the-specially-designed-vehicles-used-by-the-pope-during-outdoor-public-appearances) to be embedded in programs, and especially in [web pages](https://www.mindstick.com/blog/367/transferring-data-between-asp-dot-net-web-pages) that browsers can display. Creating active controls means we shall be able to place those controls in other programs. Which is a vary powerful technique. In fact we shall even be able to add our ActiveX controls to the dialog editor’s toolbox and drag such controls directly into [dialog boxes](https://www.mindstick.com/interview/22949/what-dialog-boxes-are-supported-in-android) under design.\

**An ActiveX control,** like other windows controls you have used so far, is a self-contained object packed with related [functionality](https://www.mindstick.com/blog/136/using-watermark-functionality-in-textbox-by-jquery), similar to window controls, it can be also be included within a [container](https://www.mindstick.com/forum/159610/how-to-connect-a-windows-container-to-a-service-running-on-localhost) object ( such as dialog window). How ever, it can not run on its own.

**Using active technique,** you can create your own customized controls with desired set of properties, methods and events.

Properties

Properties are [attributes](https://www.mindstick.com/articles/13105/2-attributes-that-make-your-odoo-ecommerce-theme-productive-and-engaging) or controls that are visible to and often modifiable by, the container in which it placed.

\

##### There are four basic types of properties of active x controls.

· Ambient Properties

· Extended Properties

· Stock properties

· [Custom properties](https://www.mindstick.com/forum/157966/what-is-the-role-of-css-custom-properties-in-bootstrap-5)

\

##### Methods

Methods of the ActiveX control are functions that can be called by its container [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) or object.

##### Events

Events are [notification](https://www.mindstick.com/blog/205/property-notification-in-c-sharp) a message that is sent from the control to the container.

We create ActiveX control in VC++ we choose the MFC ActiveX control Wizard type

---

Original Source: https://www.mindstick.com/blog/160/activex-controls-in-visual-c

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
