Property

Method

Event

 

 

AfterFileLoad

Specifies whether or not the File-Open command was successful.

Syntax

    void AfterFileLoad(
    long status
    );

Parameters

status

[out] Whether or not the file opening is successful.

0

Fail

others

Success

Remarks

This event occurs when the user opens a file using the File-Open command, not when a file is opened during initialization or by method call.

Sample Codes

VBScript

function wec_AfterFileLoad(result)
        if result=0 then
             msgbox "File opening has failed."
        end if
end function