>>63
HDC hdc = GetDC(hWnd);
TCHAR szBuf[32];
wsprintf(szBuf, "%d", a);
TextOut(hdc, 0, 0, szBuf, lstrlen(szBuf));
ReleaseDC(hWnd , hdc);