#includevoid HideConsole(){ ::ShowWindow(::GetConsoleWindow(), SW_HIDE);}void ShowConsole(){ ::ShowWindow(::GetConsoleWindow(), SW_SHOW);}bool IsConsoleVisible(){ return (::IsWindowVisible(::GetConsoleWindow()) != FALSE);}
本文共 298 字,大约阅读时间需要 1 分钟。
#includevoid HideConsole(){ ::ShowWindow(::GetConsoleWindow(), SW_HIDE);}void ShowConsole(){ ::ShowWindow(::GetConsoleWindow(), SW_SHOW);}bool IsConsoleVisible(){ return (::IsWindowVisible(::GetConsoleWindow()) != FALSE);}
转载于:https://www.cnblogs.com/beeasy/p/6131373.html