Getting console cursor position?
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
Hi, How can I get the position of the cursor in a console app? I use 'SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), &coord)' to set the position, but there seems to be no 'GetConsoleCursorPosition' function. Thanks in advance! Erik
-
Hi, How can I get the position of the cursor in a console app? I use 'SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), &coord)' to set the position, but there seems to be no 'GetConsoleCursorPosition' function. Thanks in advance! Erik
take a look at GetConsoleScreenBufferInfo Nish
-
take a look at GetConsoleScreenBufferInfo Nish
Thanks!