I have just had another look at
Image List Creation Flags (Shlobj.h) - Win32 apps | Microsoft Docs[
^]. The comment for the
ILC_MASK
flag, states:
Quote:
Use a mask. The image list contains two bitmaps, one of which is a monochrome bitmap used as a mask.
But in your code you have:
m_imageListGUI->Add(&cBmp, RGB(0, 0, 0));
But
RGB(0, 0, 0)
is a single integer value, not a bitmask.