1 Feb
2006
1 Feb
'06
9:15 a.m.
Kevin Koltzau wrote:
+ case WM_RBUTTONDOWN: + SetFocus(hWnd); + ME_ShowContextMenu(editor, wParam, (short)LOWORD(lParam), (short)HIWORD(lParam)); + break;
It's better to use WM_CONTEXTMENU instead of WM_RBUTTONDOWN. That way the context menu is also displayed when using the keyboard (Shift-F10). -- Rob Shearman