Re: How to add to Edit Text default context menu
- Posted by DerekParnell (admin) Nov 28, 2013
- 2044 views
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...
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).