%AX_TKCTLID

Get an ActiveX control ID

WSupported on Windows

 

 

 

control_id = %AX_TKCTLID(tk_container_id)

or

xcall AX_TKCTLID(tk_container_id)

control_id

The ID of the ActiveX control on Windows. On Unix, a call to this routine will cause an error. On OpenVMS, this routine always returns true. (^VAL)

tk_container_id

The window ID for the ActiveX control’s Toolkit container. (n)

%AX_TKCTLID enables you to retrieve the ID for an ActiveX control associated with a given Toolkit container window. You can use this routine only if you used %AX_TKSINGLE or %GRID_CREATE to create the containers and load the control.

See the Examples for %GRID_CREATE.