development/Common/Utility/source/MainConsole.cpp
//Direct Console output at a particular coordinate.
Direct Console output at a particular coordinate.
Direct Console output at a particular coordinate .
void MainConsole::ConPrintAt(int x, int y, const char *pCharBuffer, int len)
{
    DWORD count;
    COORD coord = {x, y};
    HANDLE hStdOut = ::GetStdHandle(STD_OUTPUT_HANDLE);
    ::SetConsoleCursorPosition(hStdOut, coord);
    ::WriteConsole(hStdOut, pCharBuffer, len, &count, NULL);
    return;
}
void MainConsole :: ConPrintAt ( int x , int y , const char * pCharBuffer , int len ) { DWORD count ; COORD coord = { x , y } ; HANDLE hStdOut = :: GetStdHandle ( STD_OUTPUT_HANDLE ) ; :: SetConsoleCursorPosition ( hStdOut , coord ) ; :: WriteConsole ( hStdOut , pCharBuffer , len , & count , NULL ) ; return ; }
Direct Console output at a particular coordinate.
Direct Console output at a particular coordinate .