﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2218	AutoIt crash when using SetGroupInfo with $LVGS_SELECTED state before SetItemGroupID	MrCreatoR <mscreator@…>	guinness	"Check this example:

{{{
#include <GUIConstantsEx.au3>
#include <GUIListView.au3>

$hGUI = GUICreate(""Test Script"", 300, 200)

$iLV = GUICtrlCreateListView('Columnn', 20, 20, 260, 160)
$iLV_Item = GUICtrlCreateListViewItem('Item 1', $iLV)

_GUICtrlListView_EnableGroupView($iLV)
_GUICtrlListView_InsertGroup($iLV, 0, 1, 'Group 1')
_GUICtrlListView_SetGroupInfo($iLV, 1, 'Group 1', 1, $LVGS_SELECTED)
_GUICtrlListView_SetItemGroupID($iLV, 0, 1)

GUISetState(@SW_SHOW, $hGUI)

While 1
	Switch GUIGetMsg()
		Case $GUI_EVENT_CLOSE
			Exit
	EndSwitch
WEnd
}}}

I know it's wrong usage, discovered by accident :)
But AutoIt should not crash.


'''P.S.'''
It's crashed when $LVM_SETGROUPINFO is sent."	Bug	closed	3.3.9.5	Standard UDFs	3.3.8.1	None	Fixed	Crash Group ListView	
