Modify ↓
#209 closed Bug (Fixed)
Another guictrldelete win32 exception
| Reported by: | 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 , 18 years ago
| Milestone: | Future Release |
|---|
comment:4 by , 14 years ago
| Milestone: | Future Release → 3.2.11.7 |
|---|---|
| Severity: | → None |
Note:
See TracTickets
for help on using tickets.

Automatic ticket cleanup.