Modify ↓
Opened 10 years ago
Closed 6 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 by , 10 years ago
comment:2 by , 6 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → 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
Note:
See TracTickets
for help on using tickets.

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.