0
context menu when right clicking on objects in 3d view
This discussion was imported from CodePlex
mihaipruna wrote at 2014-01-06 20:32:
I would like to have a context menu to pop up when I right click on an object.
Two questions:
1) does Helix have any functions to create menus?
2) right click seems to control the camera, is there a way to override that? or switch camera control to a combination of left and right click buttons together?
Two questions:
1) does Helix have any functions to create menus?
2) right click seems to control the camera, is there a way to override that? or switch camera control to a combination of left and right click buttons together?
AnotherBor wrote at 2014-01-07 05:27:
I don't know it Helix has GUI functions - although you could just pop a menu by the cursor using system API.
About how to control the camera, you can select which button (gesture) does what like this for example:
About how to control the camera, you can select which button (gesture) does what like this for example:
v3d.RotateGesture = new System.Windows.Input.MouseGesture(MouseAction.LeftClick);
where v3d is HelixViewport3D type.objo wrote at 2014-01-07 22:44:
1) Use a standard WPF ContextMenu
2) Yes, change the gesture as AnotherBor suggests
2) Yes, change the gesture as AnotherBor suggests
mihaipruna wrote at 2014-01-09 17:28:
Thank you!
Customer support service by UserEcho
Wazzup Fellow Writer, What you ?have here really have me interested up to the last word, and I wanna say to you I am not that typical man who finish the full length post of blogs as I most of the time got bored and tired of the trash content that is presented to me on a daily basis and I simply end up checking out the pics and maybe a headline, a paragraph and so on. But your headline and the first paragraphs were so cool and it right on the spot got me hooked. Thanks for tearing me out of this boring world! Thanks, really. game tài xỉu