How to Hide the Terminal Window?

I’m writing my app using Visual Studio 2019 (Windows 10).

My GUI setup is:

  • ImGUI
  • GLFW
  • OpenGL3

Running the glfw_opengl3 imgui example, I get 2 windows:

  • ImGUI
  • black standard Windows Terminal back…

How can I hide the Windows terminal and see only the ImGUI interface?


This is a Win32/Windows question, not a dear imgui question.
When you build with Visual Studio you can select whether you build as a Console or a Windows app, the earlier with default to have a console and use main() as an entry point, the later won’t have a console by default and use WinMain() as an entry point.

Sorry about that…and thank you for your quick response!