That's really weird. I'm using Gdip_BitmapFromHWND to capture Window. Everything goes well except for Chrome.
Is there anybody encounter this problem?
Code: Select all
MouseGetPos,,, MouseWin
pImage := Gdip_BitmapFromHWND(MouseWin)
Code: Select all
MouseGetPos,,, MouseWin
pImage := Gdip_BitmapFromHWND(MouseWin)
Code: Select all
PrintWindow(hwnd, hdc, Flags=0)
{
Ptr := A_PtrSize ? "UPtr" : "UInt"
Flags |= 2
;PW_RENDERFULLCONTENT = $00000002
return DllCall("PrintWindow", Ptr, hwnd, Ptr, hdc, "uint", Flags)
}
Uncheck “Use hardware acceleration when available”.
Users browsing this forum: CuriousDad, rc76 and 235 guests