[PATCH 2/2] comctl32: Paint 32-bpp bitmaps with an alpha channel using GdiAlphaBlend.

Dmitry Timoshkov dmitry at baikal.ru
Fri May 31 05:27:49 CDT 2019


Alexandre Julliard <julliard at winehq.org> wrote:

> It's not clear that an alpha channel is even meaningful with a DDB, did
> you test that case?

The app loads the bitmap using LoadBitmap(), i.e. it gets loaded without
creating a DIB section, then the app assigns it to "Static" control.
Calling BitBlt() with that bitmap as a source and a 32-bpp DIB section
as a destination works just fine under Windows and Wine, and the result
preserves alpha. Is that what you mean with testing a DDB?

-- 
Dmitry.



More information about the wine-devel mailing list