void OnPaint(HWND hWnd)
{
PAINTSTRUCT ps;
HDC hdc;
hdc = BeginPaint(hWnd, &ps);
// background yaaaaaaay
RECT rClient;
GetClientRect(hWnd, &rClient);
HBRUSH fill = CreateSolidBrush(RGB(50, 50, 200));
FillRect(hdc, &rClient, fill );
DeleteObject(fill);
HPEN whitelines = CreatePen(1, 35, RGB(255, 255, 255));
HPEN oldpen = (HPEN)SelectObject(hdc, whitelines);
MoveToEx(hdc, 0, 0, NULL);
LineTo(hdc, 450, 300);
MoveToEx(hdc, 450, 0, NULL);
LineTo(hdc, 0, 300);
MoveToEx(hdc, 0, 150, NULL);
LineTo(hdc, 450, 150);
MoveToEx(hdc, 225, 0, NULL);
LineTo(hdc, 225, 350);
SelectObject(hdc, oldpen);
DeleteObject(whitelines);
HPEN redlines = CreatePen(1, 20, RGB(255, 0, 0));
oldpen = (HPEN)SelectObject(hdc, redlines);
MoveToEx(hdc, 0, 0, NULL);
LineTo(hdc, 450, 300);
MoveToEx(hdc, 450, 0, NULL);
LineTo(hdc, 0, 300);
MoveToEx(hdc, 0, 150, NULL);
LineTo(hdc, 450, 150);
MoveToEx(hdc, 225, 0, NULL);
LineTo(hdc, 225, 350);
SelectObject(hdc, oldpen);
DeleteObject(redlines);
EndPaint(hWnd, &ps);
}