8
我认为这很容易谷歌,但我错了。Visual Studio 2013中的停靠CMD终端窗口
我只想将常规的cmd提示符终端窗口作为Visual Studio中的停靠窗口,就像Package Manager控制台一样。但我似乎无法找到办法。
可能吗?
我认为这很容易谷歌,但我错了。Visual Studio 2013中的停靠CMD终端窗口
我只想将常规的cmd提示符终端窗口作为Visual Studio中的停靠窗口,就像Package Manager控制台一样。但我似乎无法找到办法。
可能吗?
你可以搜索你通过这个代码片段与system
或CreateProcess
推出真正的控制台窗口:
HWND hCmd = ::FindWindow(_T("ConsoleWindowClass"), _T("aa")); // "aa" is the name/title of the window
if (hCmd != NULL) {
// Set new parent
// hParent is the handle to the new parent window (a dockable window)
::SetParent(hCmd, hParent);
// TODO: set child's window style to your liking...
}
那么有Open Command Line作为VS扩展,但遗憾的是它并没有停靠的命令提示符下,所以它只是你的一半。