john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

win ce from file mouse draw text

VOID APIENTRY drawText(  HWND hwnd, wchar_t text[128], int x, int y )
{    HDC  hdc;
        PAINTSTRUCT ps;
     hdc = GetDC(hwnd);
     ExtTextOut( hdc, x, y, NULL, NULL,
        text, _tcslen(text), NULL);
    ReleaseDC(hwnd, hdc);
}

VOID APIENTRY initializeBackground(  HWND hwnd )
{   HDC  hdc;
    PAINTSTRUCT ps;
    hdc = BeginPaint(hwnd, &ps);        
    EndPaint(hwnd, &ps);
}

  • « css layout test
  • Win CE c read file draw text »

Published

Feb 20, 2010

Category

c

~40 words

Tags

  • draw 3
  • file 92
  • mouse 5
  • text 16
  • win-ce 40
  • win-fromfile-mouse 4