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
4 answers

Select a TreeViewItem on Right-Click

I would like to be able to select a TreeViewItem in my program on right-click. Previously, (In this question) I tried to do this by calling to SetSelectedItem() method from wherever I wanted to allow a TreeViewItem to be selected. The answer from…
Eric after dark
  • 1,768
  • 4
  • 31
  • 79
3
votes
2 answers

How to detect rightclick + cut/delete/paste/undo in javascript?

In my JavaScript/jQuery code, I have a text field that I run an event when the text changes using the keyup event. However currently I only account for changes done using the keyboard. Is there a way I can detect when a text field text changed…
sneaky
  • 2,141
  • 9
  • 31
  • 38
3
votes
2 answers

Implementing a custom QListWidgetItem?

I am really stuck at the moment.. My Application can create (animation) frames with a click, these frames can either be moved, deleted or edited. I want some kind of right-click context menu to delete them. My attempt now is creating a QListWidget,…
Captain GouLash
  • 1,257
  • 3
  • 20
  • 33
3
votes
1 answer

Opera's right click disables key events

In Opera, while you are holding down right click, no key events register. window.onkeydown = function() { alert("hey"); } this doesn't register if you're holding down the right mouse button in Opera. I've disabled the context menu, but the…
Overcode
  • 4,074
  • 1
  • 21
  • 24
3
votes
6 answers

Remove “Save target as…” from IE

Is there any way to remove “save target as” from internet explorer’s right-click menu by using group policies or registry hacks? Failing that is there a simple programmatic way?
stan
3
votes
2 answers

How to add a ContextMenu depending on which WPF DataGrid row is right-clicked?

I need to display different options in a ContextMenu depending on which row of a WPF DataGrid is right-clicked. My initial ideas were to accomplish this through either binding or handling a mouse click event, but I haven't had success with either…
DTayntor
  • 31
  • 1
  • 4
3
votes
1 answer

Adding to the “right-click” menu for a Google Chrome extension

So most Google Chrome Extension have an "Options" Page, which is navigable by right-clicking on the extension icon. Is it possible to add another entry to that right-click menu? Just when you're right-clicking your extension icon, not adding to the…
3
votes
1 answer

KineticJS: right click fires click

I'm using Kineticjs and I'm defining a rect event like this this.rect.on('click tap', function(){ foo(); }); The event is fired when I left-click, but also when right-click. How can I avoid to fire this event with right-click? (I can't disabled the…
Delirios
  • 33
  • 3
3
votes
1 answer

jquery right mouse click div

Possible Duplicate: How to distinguish between left and right mouse click with jQuery How to open context meniu when I click with right mouse click inside the div. Because when I click with right mouse button inside div its…
andys
  • 708
  • 3
  • 11
  • 29
3
votes
1 answer

What are the various methods to rightclick on a webelement in QTP?

I had to right click on a webelement. I tried the following methods: For code simplicity assume webElem refers to a valid Browser().Page().WebElement(). 1) Set obj=createobject("mercury.devicereplay") getX = webElem.GetROProperty("abs_x") getY =…
Srittam
  • 61
  • 2
  • 2
  • 6
3
votes
2 answers

Adding task options when pinned app is right clicked

We have a c# application that requires a few steps be completed before every launch. I wrote a c# app to automate these steps. Can anyone help me figure out how I can [EDIT: configure a JumpList] for my app? I have included a screen capture to…
OverMars
  • 1,077
  • 3
  • 16
  • 33
3
votes
1 answer

It is possible to create "new MouseButtonEventArgs" in Silverlight?

I'm newbie in Silverlight and I need to activate MouseRightButtonDown(object sender, MouseButtonEventArgs e) from an another event handler in my application. I have found, that in WPF it is possible to do somthing like this: public void…
3
votes
1 answer

Disable right click for Shadowbox.js

I'm currently using Shadowbox.js to my gallery and I want to disable the right click when the visitor views the image in full size. How can I accomplish this? Thanks in advance.
Airikr
  • 6,258
  • 15
  • 59
  • 110
3
votes
1 answer

Disabled row on Datagrid WPF getting selected when clicked with the Right Mouse Button

I got some problems in Datagrid WPF I have a datagrid, and I want to set the IsEnabled property of a single row to false whenever the user assign a value to the binding item of the datagrid itemSource So I made it by datagrid Style triggers: …
Rafael A. M. S.
  • 637
  • 1
  • 6
  • 27
3
votes
0 answers

How to add right click menu like dropbox for my specific application

Problem: I need to have a right click menu on a specific folder, that shows my application submenu. Something like dropbox does. I did try to google a lot and found Services which provides to create right click menu, but it creates generic menu not…
kapilgupta
  • 31
  • 1