cCopy
               ' Set to black where mask is black:
               BitBlt lhDCImage, 0, 0, tBMIH.biWidth, tBMIH.biHeight,
                lhDCMaskCopy, 0, 0, &amp;H8800C6
            
               ' Now we have a suitable image and mask for the icon, we want to
                convert
               ' them into DIB sections so we can load the data directly into
                the
               ' icon resource:
               hDibImage = CreateDIBSection(lHDC, m_tBits(nIndex - 1).bBits(0),
         