ObjectDCL Banner

ActiveX Control

Description

ActiveX controls are registered in the workstation Windows® Registry. They are the ideal way to extend on top of ObjectDCL with custom user controls.

Properties

The following properties are common to all ActiveX controls and belong to ObjectDCL interface.

More properties are listed in the Intelligent Help and they belong to the control and are specific to each one of them.

Use AxControl_SetProperty, AxObject_SetProperty, AxControl_GetProperty and AxObject_GetProperty to access these.

Events

There are no common events to all ActiveX controls that belong to ObjectDCL interface.

Methods

The following functions are common to all ActiveX controls and belong to ObjectDCL interface.

The following methods are common to all ActiveX controls and belong to ObjectDCL interface.

Otherwise, use AxControl_DoMethod to access methods that are exposed by the ActiveX.

Remarks

Not all ActiveX controls can be embedded in dialogs. Some are not designed for graphical user interfaces (GUI).

It is also possible that adding certain ActiveX may crash your application. Check with the control vendor first. Try using an OLE container and an OLE spy tool such as the ones offered with Microsoft Platform SDK to investigate the issue.

Certain ActiveX controls are not delivered with standard Windows® platforms or all versions. Make sure to deliver them with your applications and register them properly.

See Also

AxObject_Release, GetColorValue, HtmlControl, MonthPicker, RegisterActiveXCtrl