Admin Production ni-theme
Current Publication

GetActiveXCtrlFromObjHandle

LabWindows/CVI

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 The panel handle of the ActiveX control that is associated with the specified CAObjHandle.
controlID int The control ID of the ActiveX control that is associated with the specified CAObjHandle.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 6.0 and later