How do create a contextual menu that does not just respond to right clicks but also left clicks. Thanks
According to wikipedia, such a beast does not exist:
http://en.wikipedia.org/wiki/Contextual_menu
On the other hand:
How do you make a difference fom a click and a click-that-will-show-a-contextual-menu ?
But now, you know that ctrl-click is a right click ?
[ctrl-click is a ‘standard’ click with the depressed ctrl key]
Are you asking about IsContextualClick? Or something else?
[quote=54301:@Emile Schwarz]According to wikipedia, such a beast does not exist:
http://en.wikipedia.org/wiki/Contextual_menu
On the other hand:
How do you make a difference fom a click and a click-that-will-show-a-contextual-menu ?
But now, you know that ctrl-click is a right click ?
[ctrl-click is a ‘standard’ click with the depressed ctrl key][/quote]
I have used software that opens a contextual menu with the left mouse button as well as the right mouse button.
No thanks, Tim.
[quote=54301:@Emile Schwarz]According to wikipedia, such a beast does not exist:
http://en.wikipedia.org/wiki/Contextual_menu
On the other hand:
How do you make a difference fom a click and a click-that-will-show-a-contextual-menu ?
But now, you know that ctrl-click is a right click ?
[ctrl-click is a ‘standard’ click with the depressed ctrl key][/quote]
Thanks anyway.
Tim, you have already answered this question on another thread, thanks.
Sorry, I was replying to what I thought was Emile’s question. Note to self: scroll up and get thread context before replying. No wonder I didn’t understand what he was “asking”.
But yeah, while displaying a context menu in response to a left click is unusual, as Emile pointed out, there are certainly times where it is appropriate. Simulating a PopupMenu, for example.
The problem is (wiki page extract):
Now, if it is allowed and the implementation is clean / the user understand what’s available and how, I think it is OK to do that.