https://bugs.winehq.org/show_bug.cgi?id=38154
Bug ID: 38154 Summary: Get screenshot from Desktop, problem in Mac OS Product: Wine Version: 1.7.30 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: den.aria@gmail.com
Hello! I can't make a screenshot from desktop in MAc OS, i start my app with winebottler and CrossOver. But in linux (ubuntu) its work ok
Code example var DesktopHwnd: HWND; DesktopDC, FormDC: HDC; begin // DesktopHwnd := GetDesktopWindow; DesktopDC := GetWindowDC(DesktopHwnd); FormDC := Form1.Canvas.Handle; BitBlt(FormDC, 0, 0, Form1.Width, Form1.Height, DesktopDC, 0, 0, SRCCOPY); end;
problem only in Mac OS