[Bug 38154] New: Get screenshot from Desktop, problem in Mac OS

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 25 12:09:25 CST 2015


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 at winehq.org
          Reporter: den.aria at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list