Re: How to add to Edit Text default context menu

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu