Domanda

I'm writing a console app in C++ but can't seem to find how to figure out the console window state (i.e. normal, minimized, etc.). Any idea on how to do this?

È stato utile?

Soluzione

For Windows use GetConsoleWindow to get a handle to the window, then e.g. GetWindowPlacement.

But what on Earth are you planning to use this information for?

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top