[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: Blit operation failed on MSWindows
From: |
Adam Fedor |
Subject: |
FW: Blit operation failed on MSWindows |
Date: |
Tue, 5 Jul 2005 14:58:24 -0400 |
This seems fine to me. Anyone have a comment or can I add it?
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;
- FW: Blit operation failed on MSWindows,
Adam Fedor <=