本文介绍了C#全屏控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到Windows可以在更新视频驱动程序时切换到非常基本的控制台界面,我也看到了像Borland C ++这样的程序做这个。

我真的很想知道如何使这与控制台应用程序在C#(或VB.NET如果你喜欢),我不介意使用P / Invoke的(我敢打赌,我必须!)

解决方案

在旧版本的Windows中,你可以把任何控制台全屏显示 Alt-Enter p>

随着桌面窗口管理器的介绍和通过Vista的全屏幕组合,全屏控制台窗口功能被删除。



(更新图形驱动程序时,图形子系统正在重置,您看到的不是控制台窗口,而是显卡默认启动为文本模式。)


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 really like to know how to make this with a console application in C# (or VB.NET if you prefer), and I don't mind using P/Invoke's (and I bet I must!).

解决方案

In older versions of Windows you could put any console into full screen with Alt-Enter (if I remember correctly).

With the introduction of the Desktop Window Manager and full screen composition via the GPU in Vista that full screen console window function was removed.

(When updating the graphics driver the graphics subsystem is being reset, what you see isn't a console window, but the graphics card default startup into text mode.)

这篇关于C#全屏控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 16:21