Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1322 closed Bug (Fixed)

ControlCommand with "GetSelected" used on ListView crashes the script

Reported by: MrCreatoR <mscreator@…> Owned by: Valik
Milestone: 3.3.1.7 Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: ControlCommand, GetSelected, ListView, crash Cc:

Description

To reproduce the bug, just open some Explorer window (folder), and run this script:

ControlCommand("[CLASS:CabinetWClass]", "", "SysListView321", "GetSelected")
MsgBox(64, 'Title', 'Crash!') ;Not shown

I know that "GetSelected" should be used on Edit control, but i came across this issue trying to get the text dinamically (in loop - for current control, using ControlGetFocus). And i think in any case script should not crash.

[b]P.Sb
Tested on WinXP SP2.

Attachments (0)

Change History (2)

comment:1 by Valik, 16 years ago

Milestone: 3.3.1.7
Owner: set to Valik
Resolution: Fixed
Status: newclosed

Fixed by revision [5435] in version: 3.3.1.7

comment:2 by Valik, 16 years ago

This ticket is referenced in revision: [5439]

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


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