MiniGUI/examples/msg_paint.c
2017-05-29 12:20:05 +08:00

14 lines
177 B
C

case MSG_PAINT:
{
HDC hdc;
hdc = BeginPaint (hWnd);
// Draw a line.
MoveTo (hdc, 0, 0);
LineTo (hdc, 100, 100);
EndPaint (hWnd, hdc);
return 0;
}