← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #701165]: Detect image, click result when target application is minimize

 

Question #701165 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/701165

johnny doe posted a new comment:
@Raiman on the file that I sent you I remove this block of code

if (!BitBlt(hdcMemDC,
        0, 0,
        rcClient.right - rcClient.left, rcClient.bottom - rcClient.top,
        hdcWindow,
        0, 0,
        SRCCOPY))
    {
        MessageBox(hWnd, L"BitBlt has failed", L"Failed", MB_OK);
        goto done;
    }


I replace it with PrintWindow(hWnd, hdcMemDC, 3);

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.