0
how to prevent the user from closing the program?
10 Answers
+ 4
That doesn't seem like great idea.
+ 1
While i think like Jan Markus you can do it but not with standard c++ ... In particular its not language job handle styling of windows but you must use platform API for do this... In Windows you can set the window style throght win32 api but on other platform i dont know... anyway you must search the right way for your platform
+ 1
Yes its possible but its not a standard language feature... This mean that you must use some library for accomplish this (at example on windows using win32 API)
0
No, I just want my program to not close from pressing the cross and from the introduction of the command
0
On c++ this is possible, I saw with my own eyes.
0
Yes! But which?
0
search here:
https://msdn.microsoft.com/en-us/library/windows/desktop/ff818516(v=vs.85).aspx
0
KrOW. There is nothing about C ++
0
Win32 API are a set of functions/structures/constants for handling windows programming specifically and its possible use they with C language (then C++ also)
0
What about Win32?