Hello rakan938,
There is a flag parameter for
MsgPlus.CreateWnd.
Syntax
code:
[object] CreateWnd(
[string] XmlFile,
[string] WindowId,
[number,optional] Options
);
Parameters
XmlFile
[string] Path to the Interface XML file. This is where the entire window is defined. The path is relative to the script's directory by default, to override this behavior, prefix the path with "\". Example: "\C:\directory\windows.xml".
WindowId
[string] Unique identifier of the window to create. A window with the same identifier has to be found in the XML file for the function to succeed.
Options
[number,optional] If specified, this parameter can be one of the following numbers:
WNDOPT_NORMAL (0)
WNDOPT_INVISIBLE (1)
WNDOPT_NOACTIVATE (2)
Display the window normally (default)
Don't show the window after it's been created
Don't activate the window after its creation
The following flags can also be added to specify additional characteristics:
WNDOPT_RTL (128)
Display the window with a right-to-left layout (if supported by the system).
Requires Messenger Plus! 4.10 or above.