right-click

Detect if selected element is an anchor on right click

I'm writing a small firefox addon to grab urls and send them to a site. What I want to do is be able to right click on a link (but not have to actually highlight it) and be able to click send and the links href value is grabbed and sent. The bit I'm having trouble with is detecting if the selected element is an anchor and grabbing it's h...

Why right click is not working on java application?

Hello Guys, I had made one Java Swing based application. On my application,if i click anywhere on the JFrame or anything, then my right click is not working? i had not set anything like that..then why is not working? Basically my key board was not working then i try to copy - paste data using mouse then, i came about to know that...my r...

detect if browser supports right-click event overridding

I'm using a context-menu jquery plugin and I need to detect what browsers support this. How can this be done? I heard some versions of opera and safari don't support this right-click overriding business ...

JavaScript: Capturing right click and disabling menu only within certain element

I have coded a jquery script where there is a small grid on screen and using drag and drop users can place tiles on the grid (snaps in place). Currently if you hover over a tile it fades in the option to rotate, but I would much prefer it if you could right click to rotate (making it more natural). I understand blocking right click compl...

Windows Explorer Context Menu Integration, get file that was right clicked on

I've already figured out how to add a menu item to the right click context menu of the windows explorer using the registry. I currently have it set to launch my application when my menu item is clicked. However, I want to know if there is a way to know what file is was right clicked on. I thought it would have been sent as a command li...

C# datagridview right click select row and show menu to delete it

Hello, I have few columns in my DataGridView, and there is data in my rows, I saw few solutions in here, but I can not combine them! simply a way to right-click on a row, it will select the whole row and show a menu with an option to delete the row and when the option selected it will delete the row I made few attempts but none is wo...

jQuery live right click

How can i use the jQuery live function as a right click listener? I've used this plugin: http://abeautifulsite.net/2008/05/jquery-right-click-plugin for right click event listening. But it isn't live, which is a problem for me. Hope you can help (btw. sorry for my bad english) Thanks in advance ...

How to disable mouse right click on a web page ?

I want to disable mouse right click on an HTML page. I have a page where user has to enter the details. I don't want the user to see the menu thats get displayed with the mouse right click. ...

WPF control does not capture the press and hold event (right click) when IsManipulationEnabled is set

I'm starting to make some tests with a touch screen and I've found that if a UIControl has the "IsManipulationEnabled" attribute set to true then the MouseRightClick Events fired by the press and hold gesture (WIN7) is not captured. Am I doing something wrong? public MainWindow() { InitializeComponent(); WC_Rectangle...

How to tell the mouse button using QApplication::mouseButtons() in a "click" slot??

I have a QMainWindow, and want to handle the "clicked" signal from a smaller widget (such as tableview) inside it. Originally I connect the signal to a slot of this QMainWindow, this is the most common approach. Now I need to tell which mouse button is clicked, and do different things for left and right button, I found that the "clicke...

C#, mouseClickEvent doesn't respond to right mouse click

on click event doesn't respond to right mouse click. The event is for a richTextBox. when I try the same code on the form it works fine. what could be the problem? EDIT: I use winforms ...

Right-click on a Listbox in a Silverlight 4 app.

I am trying to implement what I used to take for granted in Winforms applications. I am a Silverlight noob, so hopefully all this is elementary. I have a listbox in a Silverlight 4 app. I'd like to do the following: Right-click on the listbox Have the item under the location where I click highlight itself I'd like a context menu to ...

Implementing right click on Flash, using Flash Builder.

Hi guys. Some days ago, I saw this very interesting post: http://www.uza.lt/blog/2007/08/solved-right-click-in-as3/ and now, I'm sure that a custom right click can be used in Flash, throught JS. The problem is.. that the guy who coded that, he used a "custom" swfobject (or older, dont know) and a "custom" index.template.html. The pr...

WPF: Accessing Elements within a ContentPresenter?

Can someone please help me out with this? I have the following template setup in WPF: <Style TargetType="{x:Type Label}" x:Key="NavLink"> <Setter Property="Template"> <Setter.Value> <ControlTemplate x:Name="NavLinkControlTemplate" TargetType="{x:Type Label}"> <Border x:Name="Na...

Keeping the native style of a context menu in webpages

Hi folks, I know everyone hates when their context menus get messed with so what I'm asking for is the opposite of that. I've tried looking for javascript plugins that deal with changing the context menus in webpages, but I find that they are very intrusive. (i.e. the context menu now only contains the items that the developer chooses)....

Fullscreen flash background on HTML page: right-click problem on OS X

Hi, I'm trying to use a flash background for one of my projects right now. It works pretty well on Windows (FF, ie7, ie8, Chrome, Safari). On my friend's Mac, it displays correctly, but the right-click behavior is acting up. On Firefox, right-clicking doesn't do anything. On Safari, right-clicking always displays the Flash's contextual ...

C#, right click in internet explorer using watin

Hello all, Using WatiN, I'm loading up http://maps.google.com/ All I want to do is right click the map and click "Center map here" when the context menu pops up. Another great feature would be to be able to "drag and drop" the mouse on the map so as to make the map scroll. I would really appreciate some help. Thankyou very much, Fid...

why doesn't this right-click capture in GWT work in IE?

I'm trying to capture right-clicks on a widget, to popup my own context menu instead of the browser's. There are a couple references on this, but the most popular one here is a little dated, although some of the comments contain more recent code snippets. I've pieced together bits and I've got it working in Chrome and FF but not IE. I...

i need to verify a zope tree with a selenium right click

I'm testing a jtree made in zope that needs to be clicked with right_click, i know that the command for left click with selenium in python is selenium.click ,but i don't know any for right_click ,can anyone help me please. i would love to know if there is a solution in python not another languages please. ...

Custom Right Click Menu on multiple files

I added a command to the right click context menu for sql files in windows explorer, but it only works if I select a single file. How can I make it work for multiple files. I added the command to: HKEY_CLASSES_ROOT/sqlwb.sql.9.0/Shell/ExecSql/Command I'm on Windows 2008. Ideas? Thanks Edit: This does work. I suppose last night I must ...