GDI paint test

This commit is contained in:
Brad Parker 2017-01-04 23:50:59 -05:00
parent bc8f9f7f3f
commit 6df175bd31

View File

@ -521,6 +521,12 @@ LRESULT CALLBACK WndProcGDI(HWND hwnd, UINT message,
switch (message)
{
case WM_PAINT:
PAINTSTRUCT ps;
HDC hdc = BeginPaint(hwnd, &ps);
TextOut(hdc, 0, 0, "Hello, Windows!", 15);
EndPaint(hwnd, &ps);
break;
case WM_DROPFILES:
case WM_SYSCOMMAND:
case WM_CHAR: