Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ hide cursor

void set_cursor(bool visible){
    CONSOLE_CURSOR_INFO info;
    info.dwSize = 100;
    info.bVisible = visible;
    SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE), &info);
}
Source by www.gamedev.net #
 
PREVIOUS NEXT
Tagged: #hide #cursor
ADD COMMENT
Topic
Name
5+4 =