[PATCH 2/2] regedit: Only allow value renaming via the Edit or Popup menus

Nikolay Sivov nsivov at codeweavers.com
Thu Dec 29 06:14:42 CST 2016


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.
>
> [1] https://bugs.winehq.org/show_bug.cgi?id=37458





More information about the wine-devel mailing list