Main forum > GLBasic - en

Windows - disable Close Button on Window

(1/1)

MrPlow:
Is there a way to grey out the windows close button or circumvent it?

bigsofty:
The code necessary can be found in this SO answer. Will need a bit of inlining though... https://stackoverflow.com/questions/13189791/disable-x-button-icon-on-the-top-of-the-right-in-messagebox-using-c-win32-api 

MrPlow:
Cheers, I'll see if i can work it out!

spacefractal:
im meant im a day implmented it secrets as SETSCREEN x,x,2. Im do not sure its still works or not removed as im used its international.

Currectly it not officiel to do that throught, so dont bug me at all.

Navigation

[0] Message Index

Go to full version