Skip to content

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

Merged
Lakritzator merged 1 commit intodevelopfrom
unknown repository
Sep 19, 2022
Merged

Fixed #77, changed NIN_SELECT to trigger the mouse click event.#78
Lakritzator merged 1 commit intodevelopfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented May 31, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Context Menu getting shown when left clicking

2 participants