MoveConsoleWindow(id, x, y)
id
to the position specified by x
and y
.
This position must be in characters and it must not be off-screen.
You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.