C
Ich glaub die Idee kann ich auch verwerfen, denn irgendwie klappt das nicht richtig.
Mein neuer Code
hdc = BeginPaint(hwnd, &ps);
GetWindowRect(hwnd, &RectWnd);
hdcMem = CreateCompatibleDC(hdc);
hBitmapTrans = CreateCompatibleBitmap(hdc, RectWnd.right, RectWnd.bottom);
cxSource = RectWnd.right;
cySource = RectWnd.bottom;
hold = SelectObject(hdcMem, hBitmapTrans);
BitBlt (hdcMem, 0, 0, cxSource, cySource, hdc, 0, 0, SRCCOPY);
BitBlt (hdc, 0, 1, cxSource, cySource, hdcMem, 0, 0, SRCCOPY);
SelectObject(hdcMem, hold);
DeleteDC(hdcMem);
EndPaint(hwnd, &ps);
Wo ist da der Fehler/Denkfehler?