Problems with window_create on XUI doc
For some reason, when I open an XUI XML window, it doesn't always work. I have code that does the following:
Create XML file
local xuidoc = doc_open(xmlfile)
xuiwin = window_create('xui', 0x10, xuidoc)
The window_create will sometimes return -1 and not create the window. Do I need to set focus or something. Not sure what I am doing wrong. The XML file is one I create on the fly and save before I try and open it. It is a docked XML dialog. Any suggestions would be greatly appreciated.
BTW this is version 5.3 I am using.
Thanks.
John

