Re: How to add to Edit Text default context menu
- Posted by andi49 Nov 28, 2013
- 1968 views
ghaberek said...
Here is an example of something I've done a few times. You can trap the WM_CONTEXTMENU message using w32HEvent and then display your own Popup menu instead. It's really quite straight-forward. From there you can use whatever menu you'd like. In this example, I've added the control key shortcuts and an "About" menu option.
-Greg
It's a kind of fun, two libs, different code, same bug ;) Try to Press the Menu-Key or Shift-F10
WM_CONTEXTMENU returns -1 -1 as position in lParam if it is started from the Keyboard
Andreas