.pcbrainbuster
November 17th, 2007, 04:39 PM
Sup guys,
I finally have some idea on how to work with the whole capture idea but there is something wrong in my code -
TempDC = GetWindowDC(GetDesktopWindow());
MDC = CreateCompatibleDC(TempDC);
TempBitmap = CreateCompatibleBitmap(TempDC, PaintZoneW, PaintZoneH);
SelectObject(MDC, TempBitmap);
InvalidateRect(hWnd, NULL, true);
ReleaseDC(GetDesktopWindow(), TempDC);
All the varibles have been defined so don't worry.
Thanks.
I finally have some idea on how to work with the whole capture idea but there is something wrong in my code -
TempDC = GetWindowDC(GetDesktopWindow());
MDC = CreateCompatibleDC(TempDC);
TempBitmap = CreateCompatibleBitmap(TempDC, PaintZoneW, PaintZoneH);
SelectObject(MDC, TempBitmap);
InvalidateRect(hWnd, NULL, true);
ReleaseDC(GetDesktopWindow(), TempDC);
All the varibles have been defined so don't worry.
Thanks.