 bit, 2 colours, set the second colour to white
      tRGBQ.rgbBlue = 255
      tRGBQ.rgbRed = 255
      tRGBQ.rgbGreen = 255
      lPosition = Len(tBMI) + Len(tRGBQ)
      CopyMemory m_tBits(iItem).bBits(lPosition), tRGBQ, Len(tRGBQ)
   ElseIf (tBMI.biBitCount = 4) Then
      ' 4 bits, 16 colours, set 16 colour palette:
      set16ColorPalette iItem, lPosition
   ElseIf (tBMI.biBitCount = 8) Then
      ' 8 bits, 256 colours, set websafe palette:
      set16ColorPalette iItem, lPosition
      addWebSafePale