wisekat
wisekat

Reputation: 43

Does ImageList_DrawIndirect with fState = ILS_ALPHA works on Windows XP?

We need to draw partially transparent images from a WinAPI imagelist.

ImageList_DrawIndirect() with ILS_ALPHA works fine in Win7, but doesn't work in Windows XP - the transparent regions of the icon are grey.

The result looks like this:

enter image description here

Upvotes: 1

Views: 249

Answers (1)

Nimloth
Nimloth

Reputation: 209

Sounds like your application isn't using version 6 of CommCtl32. Normally, you need to include a manifest in your application to let it use version 6.

Details at MSDN ...

Upvotes: 1

Related Questions