1

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

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
wisekat
  • 43
  • 6

1 Answers1

1

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 ...

Nimloth
  • 209
  • 2
  • 4