Modify

Opened 18 years ago

Closed 18 years ago

Last modified 14 years ago

#209 closed Bug (Fixed)

Another guictrldelete win32 exception

Reported by: MeJonah@… Owned by:
Milestone: 3.2.11.7 Component: AutoIt
Version: 3.2.11.6 Severity: None
Keywords: Windows XP SP 2 Cc:

Description

Using guictrldelete() on a natively created listview which has had all its natively created items guictrldelete()'d causes a win32 exception in 3.2.11.6.

#include <guiconstantsex.au3>
#include <guilistview.au3>


$gui = guicreate("TEST", 500, 500)


$search_listview = guictrlcreatelistview("Items requiring follow-up", 10, 10, 480, 380, BitOr($GUI_SS_DEFAULT_LISTVIEW, $LVS_NOSORTHEADER))


$item1 = guictrlcreatelistviewitem("TEST", $search_listview)
$item2 = guictrlcreatelistviewitem("TEST", $search_listview)


$button = guictrlcreatebutton("GO", 200, 400, 100, 50)

guisetstate()




while 1=1
	$msg = guigetmsg()
	if $msg <> 0 Then
		switch $msg
			case $gui_event_close
				Exit
			case $button
				guisetstate(@SW_LOCK)
				guictrldelete($item1)
				guictrldelete($item2)
				guictrldelete($search_listview)
				guisetstate(@SW_UNLOCK)
		EndSwitch
	endif
wend

Attachments (0)

Change History (4)

comment:1 by TicketCleanup, 18 years ago

Milestone: Future Release

Automatic ticket cleanup.

comment:2 by J-Paul Mesnage, 18 years ago

Resolution: Fixed
Status: newclosed

Thanks fixed 3.2.11.7

comment:3 by TicketCleanup, 18 years ago

Milestone: Future Release

Automatic ticket cleanup.

comment:4 by J-Paul Mesnage, 14 years ago

Milestone: Future Release3.2.11.7
Severity: None

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.