Reputation: 1543
How to add scroll bar to console using system
function?
I'm using system("MODE 100,50");
to set customize console window size.
Upvotes: 3
Views: 2157
Reputation: 10845
What can be simplier?
COORD newSize = {100,9999};
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), newSize);
newSize must be larger than your current visible window area
Upvotes: 2