Questions tagged [right-click]

A right-click is pressing the right or secondary button on a mouse.

A term used to describe the action of pressing down on the right mouse button. The right-click is used to provide additional functionality to a computer's mouse, usually in the form of a drop-down menu containing additional options.

Please read more at: http://www.computerhope.com/jargon/r/righclic.htm

694 questions
3
votes
1 answer

Use javascript to prevent context menu on CTRL+Leftclick

I am trying to allow my CMS users to click certain controls with ALT+CTRL both pressed, but this results in the context menu being shown, because CTRL+Leftclick simulates a Rightclick, at least here on Mac OSX (which is the primary OS of my…
SquareCat
  • 5,699
  • 9
  • 41
  • 75
3
votes
0 answers

Customise windows 11 context menu

I want to add an option in windows 11 context menu but not in show more option submenu , it should added to the main context menu . I don't want to use the classic windows 10 context menu. I tried with adding registry key reg add…
indu
  • 31
  • 1
3
votes
2 answers

Right click on a menu item and show options

I have menu ServerList, I am adding the menuItems dynamically using C# code. It reads the servers list from file and populate the menu items. I have added the right click options for each server. Edit & Delete. All this is working fine. the problem…
Naveen Chakravarthy
  • 819
  • 2
  • 15
  • 30
3
votes
1 answer

Text deselected on right click in IE8

I want the user selection from a text area in my page. I have a context menu that user can use on right-clicking the selection. This is my code to retrieve selected content from a textarea in IE8, var textComponent =…
Rishabh
  • 338
  • 1
  • 3
  • 17
3
votes
2 answers

Windows 11 add custom buton on new context menu (right click menu)

On Windows 10, I had created a button in the menu that called a python script (see project). I had managed to do this by modifying values in the registry editor. My button still appears on Windows 11 but only on the old menu and not the new one.…
Enzo Degraeve
  • 165
  • 1
  • 1
  • 13
3
votes
1 answer

How do I change what appears when right clicking in a rich text box in C#?

So in a rich text box (in Visual C#.NET) when I highlight some text and then right click with my mouse nothing happens. How do I make that little right click window pop up? How do I set the options for it?
Alper
  • 1
  • 12
  • 39
  • 78
3
votes
1 answer

Send right click to a window

I'm trying to send a right mouse click to a window specified coordinates. I've tested with 2 codes Code 1: [DllImport("user32.dll")] public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam); [DllImport("user32.dll")] …
kuhi
  • 531
  • 5
  • 23
3
votes
2 answers

How to properly handle left and right click in Firefox

I am working on a web app in which I want to have a different action happen to an element whether I left or right click on it. So I first added a function to handle the click event with jQuery, and then added a second function to handle the…
Julien Boyreau
3
votes
1 answer

Detecting file-selection right click in Desktop C#

i got file right click in file explorer but i can't get path file or folder when i right click in desktop public void GetListOfSelectedFilesAndFolderOfWindowsExplorer() { string filename; ArrayList selected = new ArrayList(); …
3
votes
2 answers

Move a borderless Winform holding right mouse button, possibly with native methods

I have a situation where I would like to move a windows form by holding right mouse button on it's client area; the form it's borderless as i've stated. I would like to move it "natively" (if possible, otherwise other answers are ok too). I mean the…
Francesco Belladonna
  • 11,361
  • 12
  • 77
  • 147
3
votes
0 answers

Python - Add item to the file right click context menu

I want to create an application that will add a preprogrammed function in windows context menu when you right click an file. I've been searching this for quite a time but not successfully. For example, how to add the "add to archive" as winrar…
totototows
  • 39
  • 4
3
votes
2 answers

Right Click with AppleScript

How do I preform a right click with applescript?
bubster
  • 887
  • 1
  • 10
  • 17
3
votes
2 answers

python: Right Click on list menu not showing item selected

In my ongoing effort to learn more about python, I am trying to add a right click event to my mp3 manager program. What currently works is that it shows the menu and all of the options. What is not working is the functions selected from the menu…
ccwhite1
  • 3,625
  • 8
  • 36
  • 47
3
votes
1 answer

Right click on Collapsed Menu Item of Ant Design do not show "Open in new tab"

I have a React App that use Ant Design. It uses the Ant Design Menu component, in collapsed mode. The thing is when I try to right click on a menu item, it do not show the options to "Open in new tab/window". I suspect that it has relation with this…
Yulio Aleman Jimenez
  • 1,642
  • 3
  • 17
  • 33
3
votes
1 answer

HTML Link javascript execute on right click or shift click (open in a new window/tab)

Opening a JavaScript-based link in a new window/tab. I have a link Page What I believe is happening here is that the trackClick() function may not have enough time to execute before browser redirects…
Oleksandr
  • 283
  • 1
  • 4
  • 15