HI_AXInvoke

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 the ActiveX object  (reference variable) or interface returned by calling the function HI_GetAXProp.

functionName

Name of the invoked function.

param1, ..., paramN

Parameters (of the required type) to give to the invoked function.

Return value

 The function returns a value of the Int (HRESULT) type. Generally, a positive value means the function success and a negative value means the non-success.

Example

  In an 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.