Event: OnOpenedOrFocused (i_strFilePath as String, i_bOpenWithThisControl as bool)
Dispatch Id: 1000
When integrating at application level, this event informs clients that a document has been opened, or made active by XMLSpy.
When integrating at document level, this event instructs the client to open the file i_strFilePath in a document window. If the file is already open, the corresponding document window should be made the active window.
if i_bOpenWithThisControl is true, the document must be opened with XMLSpyControl, since internal access is required. Otherwise, the file can be opened with different editors.