Turn WM_CONTEXTMENU into onContextMenu. The message is raised by a
right-click and by the keyboard (Apps key / Shift+F10); the latter arrives
with a position of (-1, -1), in which case the menu is anchored at the
selected row so a keyboard user gets the menu where focus is.
Turn WM_CONTEXTMENU into onContextMenu. The message is raised by a right-click and by the keyboard (Apps key / Shift+F10); the latter arrives with a position of (-1, -1), in which case the menu is anchored at the selected row so a keyboard user gets the menu where focus is.