Answered by:
right click event

Question
-
hey all,
How to detect right click event?
I found a way can do is 'content menu' event , but it fired after selection changed event raise on my listview.
Is there a way that can do before selection changed raise?
Thanks
Monday, October 8, 2012 1:59 AM
Answers
-
hey Ted,
Thanks for reply
I need to know the selection changed event is fired by user or system.
If user delete a selected file from desktop or what, the system will invoked selection changed.
I guess I already found a way to resolve it , that 's 'MSPointsDown' event.
This event will fired before selection changed.
- Marked as answer by Jeff SandersMicrosoft employee, Moderator Friday, October 12, 2012 1:39 PM
Friday, October 12, 2012 1:51 AM
All replies
-
There are more than enough javascript tutorials out there. This board is for people who need Win8 specific help.
https://www.google.com/search?q=javascript+detect+right+click&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 7:45 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 8:26 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 8:58 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 9:02 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 9:08 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 9:10 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 9:11 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 9:12 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 9:12 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 9:14 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 9:14 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 9:16 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 9:17 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 9:17 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 9:18 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 9:31 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 9:31 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 9:40 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 9:46 AM
- Unproposed as answer by gogoqaz Monday, October 8, 2012 10:02 AM
- Proposed as answer by John, from Long Hair Software Monday, October 8, 2012 3:16 PM
- Unproposed as answer by gogoqaz Tuesday, October 9, 2012 1:16 AM
Monday, October 8, 2012 7:07 AM -
hey John,
you're funny , but stop marking you reply , it's not the answer what I want.
Be a man ok?
Monday, October 8, 2012 9:13 AM -
What are you trying to do here? In general, the context menu event is preferable to handling the right click, because there are several ways to invoke the context menu:
- Right click
- Shift-F10
- Long press
- Hardware context-menu button (this does not get reported to your app as a right-click)
I've doubtless forgotten others. You might be able to cancel the selection change, if that would do what you needed.
Thursday, October 11, 2012 5:23 PM -
hey Ted,
Thanks for reply
I need to know the selection changed event is fired by user or system.
If user delete a selected file from desktop or what, the system will invoked selection changed.
I guess I already found a way to resolve it , that 's 'MSPointsDown' event.
This event will fired before selection changed.
- Marked as answer by Jeff SandersMicrosoft employee, Moderator Friday, October 12, 2012 1:39 PM
Friday, October 12, 2012 1:51 AM