Compartilhar via


Composite Control Global Functions

These functions provide support for creating dialog boxes, and for creating, hosting and licensing ActiveX controls.

Important

The functions listed in the following table cannot be used in applications that execute in the Windows Runtime.

AtlAxDialogBox

Creates a modal dialog box from a dialog template provided by the user. The resulting dialog box can contain ActiveX controls.

AtlAxCreateDialog

Creates a modeless dialog box from a dialog template provided by the user. The resulting dialog box can contain ActiveX controls.

AtlAxCreateControl

Creates an ActiveX control, initializes it, and hosts it in the specified window.

AtlAxCreateControlEx

Creates an ActiveX control, initializes it, hosts it in the specified window, and retrieves an interface pointer (or pointers) from the control.

AtlAxCreateControlLic

Creates a licensed ActiveX control, initializes it, and hosts it in the specified window.

AtlAxCreateControlLicEx

Creates a licensed ActiveX control, initializes it, hosts it in the specified window, and retrieves an interface pointer (or pointers) from the control.

AtlAxAttachControl

Attaches a previously created control to the specified window.

AtlAxGetHost

Used to obtain a direct interface pointer to the container for a specified window (if any), given its handle.

AtlAxGetControl

Used to obtain a direct interface pointer to the control contained inside a specified window (if any), given its handle.

AtlSetChildSite

Initializes the IUnknown of the child site.

AtlAxWinInit

Initializes the hosting code for AxWin objects.

AtlAxWinTerm

Uninitializes the hosting code for AxWin objects.

AtlGetObjectSourceInterface

Returns information about the default source interface of an object.

See Also

Other Resources

ATL Functions

Composite Control Macros