If a window does not display a shortcut menu it should pass this message to the DefWindowProc function
Therefor since I'm showing a pop up menu I should not call DefWindowProc, which means I should return a value from handler.
But that's an issue because the docs say there is no return value.
1 2 3 4 5 6 7 8 9 10
// Show pop up menu
OnContextMenu(WPARAM wParam, LPARAM lParam);
return // what?
// We handled WM_CONTEXTMENU therefore DefWindowProc must not be called
// But there is no return value
DefWindowProc (msg, wParam, lParam);
Well I guess we could just return anything, but what is the correct way to handle this event?