Well, basically you can hide a Plus window's close button by using code like this:
code:
<Window Id="WndSomeWindow" Version="1">
<TitleBar>
<AllowClose>false</AllowClose>
</TitleBar>
...
</Window>
This will hide the
sign.
However, you can always use scripted code to close the window, like this:
code:
var wndSomeWindow = MsgPlus.CreateWnd("Resources\\wndSomeWindow.xml", "WndSomeWindow");
// do other stuff
// ...
// now we decide it's time to close the window
wndSomeWindow.Close(1);
However, the user can always close the window by pressing Alt+F4 (unless you register a message notification callback function and suppress the window message this way).