# GetActiveXCtrlFromObjHandle

int GetActiveXCtrlFromObjHandle (CAObjHandle objectHandle, int *panelHandle, int *controlID);

## Purpose

Obtains the panel handle and the control ID of the ActiveX control that is associated with the CAObjHandle.

Linux This function is not supported.

## Parameters

Input
Name | Type | Description
objectHandle | CAObjHandle | The CAObjHandle associated with an ActiveX control.
Output
Name | Type | Description
panelHandle | int (passed by reference) | The panel handle of the ActiveX control that is associated with the specified CAObjHandle.
controlID | int (passed by reference) | The control ID of the ActiveX control that is associated with the specified CAObjHandle.

## Return Value

Name | Type | Description
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred.
Code | Error Message String
xx | Success