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

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .