Re: richedit: Show context menu on right click
1 Feb
2006
1 Feb
'06
3: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
7254
Age (days ago)
7254
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Shearman