[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: Blit operation failed on MSWindows
From: |
Fred Kiefer |
Subject: |
Re: FW: Blit operation failed on MSWindows |
Date: |
Tue, 05 Jul 2005 23:41:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 |
Adam Fedor wrote:
> This seems fine to me. Anyone have a comment or can I add it?
>
Fine for me as well. I am just still not able to work under Windows,
thats why I stayed out of that thread.
>
> From: Marc Brünink [mailto:mbruen@smartsoft.de]
>>>If I trust
>>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/
>>>bitmaps_6ig4.asp
>>>AlphaBlend should work since Windows 98. Further I've a Windows 2000
>>>SP4 machine on which AlphaBlend seems to work. At least the tab
>>>images are shown. But I also have a Windows 2000 SP4 machine on which
>>>the AlphaBlend function returns the error described above. Perhaps
>>>it's a hardware issue???
>>>
>>>Marc
>
> Until this issue is clarified I suggest a fallback to BitBlt:
>
> success = AlphaBlend(hDC,
> x, y, (rectFrom.right - rectFrom.left), h,
> sourceDC,
> rectFrom.left, rectFrom.top,
> (rectFrom.right - rectFrom.left), h,
> blendFunc);
> if(success)
> break;