How to disable console options

Is it possible to disable the options dialog for a .net console application? Or somehow keep the user from changing the console properties?

0


source to share


1 answer


Not. It's impossible.

In fact, this might be possible by getting the hWnd of the console window and redesigning it. But it will surely cause disasters in other Windows versions / locales. Do not do that.



Why would you want to do this anyway?

+1


source







All Articles