If
      
      If (iEnd &gt; iStart) And (iEnd &gt; -1) Then
         lParenthDC = m_HDC
         lHDC = CreateCompatibleDC(lParenthDC)
         If (lHDC &lt;&gt; 0) Then
            lSizeX = ImageCount * m_lIconSizeX
            lhBmp = CreateCompatibleBitmap(lParenthDC, lSizeX, m_lIconSizeY)
            If (lhBmp &lt;&gt; 0) Then
               lhBmpOld = SelectObject(lHDC, lhBmp)
               If (lhBmpOld &lt;&gt; 0) Then
                  lColor = TranslateColor(oBackColor)
                  tR.Botto