I would like to know why this works:
code:
var WndManageFiles = null;
var WndAddFile = null;
WndManageFiles = MsgPlus.CreateWnd("GUI.xml", "WndManageFiles");
WndAddFile = MsgPlus.CreateWnd("GUI.xml", "WndAddFile");
whereas, this does not:
code:
var WndManageFiles = null;
var WndAddFile = null;
WndManageFiles = MsgPlus.CreateWnd("GUI.xml", "WndManageFiles");
WndAddFile = MsgPlus.CreateChildWnd("WndManageFiles", "GUI.xml", "WndAddFile", 100, 40, true);
Debugging console:
Error : Type mismatch.
Line : 22. Code : -2146828275.
Is there something that must be done differently in the .xml file?
Thank you in advance!