Closing the Window

Blitz3D Forums/Blitz3D Programming/Closing the Window

Aha..!

You need to:

GetSystemMenu - To get a handle to the SystemMenu for the window

then Disable the Close option...

Now how the hell do I go about doing that...

HMENU = GetSystemMenu(hWnd , bRevert)

That will get the menu. How do you mess with menus?