wpf-notifyicon icon indicating copy to clipboard operation
wpf-notifyicon copied to clipboard

Fixed #77, changed NIN_SELECT to trigger the mouse click event.

Open devpelux opened this issue 3 years ago • 0 comments

After a few tests I've concluded that imo the right place for NIN_SELECT is when a mouse click event is complete (at WM_LBUTTONUP).
Tested on Win10 and Win11, NIN_SELECT is triggered only when clicking the icon with the mouse left button.

The mouse right button triggers WM_CONTEXTMENU, and the enter key triggers NIN_KEYSELECT.

This fixes the problem that the context menu is always opened when clicking with the mouse #77, now it follows the same behaviour specified for the left mouse button.

fix #77

devpelux avatar May 31 '22 14:05 devpelux