HI_AXInvoke
%HI_AXInvoke function
Function
The function invokes the specified function and gives it parameters.
Declaration
INT %HI_AXInvoke(
INT in refID,
TEXT in functionName,
in param1,
...
in paramN
) Parameters
refId | Reference to ActiveX object |
functionName | Name of invoked function. |
param1, ..., paramN | Parameters (of required type) to give the invoked function. |
Return value
The function returns a value of Int (HRESULT) type. In a general way, a positive value means the function success and a negative value means the non-success.
Example
In active picture, there is placed the ActiveX object of Microsoft Web Browser type. The following call
%HI_AXInvoke(_AX_MWB, "navigate", "HTTP://www.ipesoft.sk")
will show the web page www.ipesoft.sk in the ActiveX object window.