case WM_PAINT: { // Draw on Window hdc = BeginPaint(hMainWindow, &pStruct); GetClientRect(hMainWindow, &clientArea); // Output position TextOut( hdc, // handle to DC nXStart, // x-coordinate of starting position nYStart, // y-coordinate of starting position textBuff, // character string MAX_BUFF_LEN // number of characters ); }
DrawText
TextOut
"\n"
"\r\n"
DT_SINGLELINE
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)