Message board for the users of flat assembler.
> Windows > console cursor
how can i achieve free / float / roaming cursor, just like the ide shipped with fasm. (can move up, down, right, and left)
there is a way in my mind, but im not sure if its good enough:
SetConsoleCursorPosition (output handle, coord)
GetAsyncKeyState (left arrow)
if pressed, decrease x coord and jump to loop
GetAsyncKeyState (up arrow)
if pressed, decrease y coord and jump to loop
GetAsyncKeyState (right arrow)
if pressed, increase x coord and jump to loop
GetAsyncKeyState (down arrow)
if pressed, increase y coord and jump to loop
if there is a WINAPI have the same functionality then please let me know about it.
also if you know api's the Gets the current Cursor position please let me know.
Asm For Wise Humans
|13 Jul 2018, 07:15||
if you know api's the Gets the current Cursor position please let me know.
GetConsoleScreenBufferInfo --> Retrieves information about the specified console screen buffer.
|14 Jul 2018, 06:04||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.
Website powered by rwasa.