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?
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?