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