C# full screen console?

后端 未结 5 1388
别那么骄傲
别那么骄傲 2020-12-16 17:01

I have seen that Windows can switch to the very basic console interface when updating the video drivers and I have also seen programs like Borland C++ doing this.
I\'d r

5条回答
  •  清酒与你
    2020-12-16 17:35

    Windows 7 does not support Full Screen console applications. On XP you can use SetConsoleDisplayMode, you will need to P/Invoke to this, but it is relatively simple. I know on win 7 x64 this function will fail with error 120 This function is not spported on this system

    To get the console handle you can use some of the code from this answer.

提交回复
热议问题