On 29.12.2016 13:13, Hugh McMaster wrote:
I thought of using LVN_BEGINLABELEDIT to handle the edit behaviour, but I'm not sure how to determine whether the command was sent from the UI via WM_COMMAND or directly from the ListView click via WM_NOTIFY.
When you use main or context menu LVM_EDITLABEL is sent explicitly, and when you edit using Listview capability it happens on its own, so it should be possible to distinguish those cases.