Ok, that works great!
Next question: can I set the width and height of the window? I've tried this:
js code:
Interop.Call("user32.dll", "SetWindowPos", WndTest, null, 0, 0, 300, 200, SWP_NOMOVE | SWP_NOZORDER);
But nothing happens. No error, just nothing.