Code:case WM_PAINT: { HDC hdc = GetDC(hwnd); RECT rect; GetWindowRect(GetDlgItem(hwnd, ID_SM_SKETCH),&rect); FillRect(hdc, &rect, CreateSolidBrush(GetSysColor(COLOR_3DFACE))); ReleaseDC(hwnd,hdc); return FALSE; } break;
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 17
Thread: Why are my windows transparent?Threaded View
|
Click Here to Expand Forum to Full Width |