I came across this MSDN document. I was surprised and looked up the terms but I found right click is clicking the right mouse button.
Left-handed users often find it more comfortable to swap the functions of the left and right buttons—using the right button as the pointer, and the left button to show the context menu. For this reason, the Windows help documentation uses the terms primary button and secondary button, which refer to logical function rather than physical placement. In the default (right-handed) setting, the left button is the primary button and the right is the secondary button. However, the terms right click and left click refer to logical actions. Right clicking means clicking the primary button, whether that button is physically on the right or left side of the mouse.
Does the document use the terms incorrectly?
Related
I have a drop target (CTreeView) that accepts CF_HDROP. When I drag/drop using left mouse button, it works as expected (with Move/Copy option via shift/ctrl keys), when I do a drag/drop using the right button, it treats it the same as the left, no context menu. I've tried dragging from the desktop to the tree view (as well as internally from a list view to the tree view).
I am aware of the method of showing a context menu when the program internally handles the process of checking when the right button down, track when dragging when mouse moves, and releasing button to do drop. But since this is a drop-target from anything (using OnDrop()), how do I handle getting the context menu to show for the option to either copy or move?
Thanks!!
According to this spec, I have to use right mouse button to drag a rectangle for making column selection. This is very inconvenient because I am using a mouse pad and it's hard to do a right click.
Is there a way to fix this binding so that left mouse button can be used instead of right mouse button?
I have a menu animated with two arrows
one in the left of the button and one in the right of the button
the direction of the arrow is right for the right arrow and left for the left arrow
I want when I click in the arrow in the right show me another one without exit the corrent view ,the same for the left arrow but he show me another button(option) to choose
and when I click on the right or the left button I want that he show me the new button with an animation it appears like a train animation when he change the button
can you give me an idea how can I do this ??
You can create an UIScrollView with UIButtons and put two UIButtons to left and right scroll.
You can follow this tutorial for it -
http://blog.sallarp.com/iphone-sliding-menu/
I have an issue with svg groups and basic animation. this guy is a button. When hovered over, out pops a sort of menu. The goal is that the menu retracts when the mouse pointer leaves the button and the menu.
The trouble starts with 'onmouseout'; even though button & menu are grouped, and with 'onmouseout' acting on the whole group, the mouseout action is triggered by mousing out ANY element within the group. So a move from button to menu triggers the retraction.
To work around this I've put a mask over the top that appears (so to speak - it does become visible but has 0 opacity, so cannot be seen), when the button is moused over. I've turned it grey here so you can see it. But if i want to add element onto this menu, I'm no further forward than before. The red block is this other element.
Seemingly, if I had the menu just appear instead of using animations to make them appear, the groups would behave as I want them to.
I hope someone can help or shed some light.
I have a page with a couple of widgets on it, each of which, when clicked, brings up a yui popup menu: If I click on widget 1, its menu comes up. If I now click on widget 2, widget 1's menu gets a hide event, and widget 2's menu gets a show event and comes up. I'd like to change this so that, when widget 1's menu is up, it must be explicitly dismissed by a click on the page background (and/or, perhaps, another click on the widget or the escape key) before the menu attached to widget 2 is allowed to appear.
I've set up some beforeShowEvent and beforeHideEvent handlers on the menus, hoping to be able to use some method (a global variable? ick) of keeping track of when a menu is present and showing or hiding accordingly, but it's not working -- these handlers can't tell the difference between a click on the page background and a click on widget 2 (at least, not as I've done it so far). Is there any way to do what I'm trying to do? Thanks!
I think that a combination of clicktohide: false
Boolean indicating if the Menu will automatically be hidden if the user clicks outside of it. This property is only applied when the "position" configuration property is set to dynamic and is automatically applied to all submenus.
and keepopen: true
Boolean indicating if the menu should remain open when clicked.
will take care of this.
http://developer.yahoo.com/yui/menu/#configref