Re: How to add to Edit Text default context menu

new topic     » goto parent     » topic index » view thread      » older message » newer message
andi49 said...

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

Not a bug. This is by design. See the Microsoft developer docs ...

Microsoft said...

WM_CONTEXTMENU

If the context menu is generated from the keyboard, then the x- and y-coordinates are –1 and the application should display the context menu at the location of the current selection rather than at (xPos, yPos).

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

Search



Quick Links

User menu

Not signed in.

Misc Menu