yes, add that change in the ucListview
Public Function ColumnAdd( _
ByVal Column As Integer, _
ByVal Text As String, _
ByVal Width As Integer, _
Optional ByVal Align As eColumnAlignConstants = [caLeft], _
Optional ByVal Icon As Integer = -1 _
) As Boolean
Dim LVC As LVCOLUMN_lp
If (m_hListView) Then
With LVC
.mask = LVCF_FMT Or LVCF_TEXT Or LVCF_WIDTH Or LVCF_IMAGE * -(Icon > -1)
.pszText = StrPtr(StrConv(Text, vbFromUnicode)) ' <------- as long
.fmt = HDF_STRING Or Align * -(Column <> 0) Or HDF_IMAGE * -(Icon > -1) Or HDF_BITMAP_ON_RIGHT 'HDF_STRING Or Align Or LVCFMT_IMAGE Or LVCFMT_BITMAP_ON_RIGHT
.cx = Width
.iImage = Icon
.iOrder = 0
End With
ColumnAdd = SendMessage(m_hListView, LVM_INSERTCOLUMN, Me.ColumnCount, LVC) > -1
If m_hHeader = 0 Then
m_hHeader = pvHeaderhWnd()
Call SendMessageLong(m_hHeader, HDM_SETIMAGELIST, 0, m_hILHeader)
End If
End If
End Function
remove the function ColumnAdd2, it not necessary