Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 19, 2022
Merged

Conversation

devpelux
Copy link
Contributor

@devpelux devpelux 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

@Lakritzator Lakritzator merged commit 4004e88 into hardcodet:develop Sep 19, 2022
@punker76 punker76 added the Fix label Jun 11, 2024
@punker76 punker76 added this to the 2.0.0 milestone Jun 11, 2024
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
3 participants