Modify

Opened 17 years ago

Closed 17 years ago

Last modified 13 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 Changed 17 years ago by TicketCleanup

  • Milestone Future Release deleted

Automatic ticket cleanup.

comment:2 Changed 17 years ago by Jpm

  • Resolution set to Fixed
  • Status changed from new to closed

Thanks fixed 3.2.11.7

comment:3 Changed 17 years ago by TicketCleanup

  • Milestone set to Future Release

Automatic ticket cleanup.

comment:4 Changed 13 years ago by Jpm

  • Milestone changed from Future Release to 3.2.11.7
  • Severity set to None

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.