﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1690	GuiTreeView.au3, GuiListView.au3 and possibly others ASCII mode Bug	Authenticity	Jon	"I didn't have the time to check through all of the functions in these (or other) UDFs, but I'm quite sure there are more:

In ''_GUICtrlListView_InsertItem'' function:
{{{
If _WinAPI_InProcess($hWnd, $_lv_ghLastWnd) Or ($sText = -1) Then
   $iRet = _SendMessage($hWnd, $LVM_INSERTITEMW, 0, $pItem, 0, ""wparam"", ""ptr"")
Else ; not our control
}}}

should be:
{{{
If _WinAPI_InProcess($hWnd, $_lv_ghLastWnd) Or ($sText = -1) Then
   If $fUnicode Then
      $iRet = _SendMessage($hWnd, $LVM_INSERTITEMW, 0, $pItem, 0, ""wparam"", ""ptr"")
   Else
      $iRet = _SendMessage($hWnd, $LVM_INSERTITEMA, 0, $pItem, 0, ""wparam"", ""ptr"")
   EndIf
Else ; not our control
}}}

Other text related functions in GuiListView.au3 are probably coded the same.

In ''_GUICtrlTreeView_GetText'' function:
{{{
If _WinAPI_InProcess($hWnd, $__ghTVLastWnd) Then
   DllStructSetData($tTVITEM, ""Text"", $pBuffer)
   _SendMessage($hWnd, $TVM_GETITEMW, 0, $pItem, 0, ""wparam"", ""ptr"")
Else
}}}

should be:
{{{
If _WinAPI_InProcess($hWnd, $__ghTVLastWnd) Then
   DllStructSetData($tTVITEM, ""Text"", $pBuffer)
   If $fUnicode Then
      _SendMessage($hWnd, $TVM_GETITEMW, 0, $pItem, 0, ""wparam"", ""ptr"")
   Else
      _SendMessage($hWnd, $TVM_GETITEMA, 0, $pItem, 0, ""wparam"", ""ptr"")
   EndIf
Else
}}}"	Bug	closed		Standard UDFs	3.3.6.1	None	No Bug		
