Hello, I am trying to capture a screen shot using this code:
hdc = GetWindowDC(hwnd);
memdc = CreateCompatibleDC(hdc);
hbmp = CreateDIBSection(hdc, &bmpinfo, DIB_PAL_COLORS, &pBits, NULL, 0)
But I layered windows doesn't appear inside the shot, it is like them were invisible, only the desktop and other windows are captured.
Using "print screen" I get a full screen shot including layered window, then how can I correct that ?