Modify

Opened 9 years ago

Closed 4 years ago

#3125 closed Bug (No Bug)

ListView does not generate events when pressing Return

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.0 Severity: None
Keywords: ListView Cc:

Description

According to documentation (see _GUICtrlListView_Create help page), when pressing Enter key, ListView control should send a WM_NOTIFY message with code $NM_RETURN.

A few workarounds have been proposed over the years (see https://www.autoitscript.com/forum/topic/83621-trapping-nm_return-in-a-listview-via-wm_notify/), but maybe it is possible to solve the issue at the source.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by BrewManNH

I believe this is a Windows API problem and not related to AutoIt. Search for NM_Return and Listview and you'll find a lot of people running into this problem.

comment:2 Changed 4 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

Hi,
long wait
but the short answer is the doc does say the $NM_RETURN. must be return but just the example will display it if WM_NOTIFY is triggered

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.