I think this algorithm should help (width and height are wanted sizes):
CONSOLE_SCREEN_BUFFER_INFO csbi;
COORD coordScreen;
HANDLE Screen;
BOOL bSuccess;
SMALL_RECT srWindowRect;
Screen = GetStdHandle(STD_OUTPUT_HANDLE);
ASSERT((Screen != INVALID_HANDLE_VALUE));
bSuccess =...
Hi.
Mostly often this warning appears when initial value of the some dialog is zero, but must be, for instance, from 1 to 100.
Sure, maybe other variations of this situation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.