Hello,
2 problems:
In google chrome if you select a word (say
problem
) and then right click on this selected text, the context menu shows two items 1. Copy 2.Search google forproblem
3. Inspect element. The context menu is different from the context menu of that entire window. How can I have this separate context menu for selected text.The exact task I'm trying to accomplish is: I've a textbox (in winforms). Now when user rt clicks, the context menu show just
paste
. If text box is filled has some text and user selects some text and then right clicks on selected text, It should show context menu with items: copy, cut, paste, select all. How ?.For copying text user has 3 options:
- Copy (in context menu)
- Edit menu
- Ctrl+C
all these does same thing, copies selected data to clipboard. I want to overwrite functionality of copying selected data using these 3 methods to copying desired data to clipboard. How?