LVBKIMAGE lv = {0}; lv.ulFlags = LVBKIF_TYPE_WATERMARK|LVBKIF_FLAG_ALPHABLEND; lv.hbm = hbm; //<-- This must be a premultiplied alpha bitmap SetBkImage(&lv);
I am using "IWICFormatConverter->CreateFormatConverter" and "GUID_WICPixelFormat32bppPBGRA" to convert to a multiplied alpha bitmap.
I use this in my software. When you install an add-on "Preview in background", the selected image will be displayed in the background of Listview. You can also change the background color by installing the add-on "Color".