How to customize the right and middle mouse buttons?
The mouse button actions can be edited in the CUI file. Under the section MouseButtonRoot, four sections are found, with alias 'AUX1' to 'AUX4'. The meaning of these groups is:
- AUX1: clicks without modifier
- AUX2: Shift-clicks
- AUX3: Ctrl-clicks
- AUX4: Ctrl-Shift-clicks
Within the group, there are several elements. BricsCAD will only use the first two of them. The first item defines the action for the right mouse button, the second one is for the middle button. The left mouse button behavior is fixed, it cannot be customized.
When the has its attribute BlankLine set to true, the corresponding button will execute the default action (like in previous versions). Otherwise, its MenuMacro action will be executed.
The SHORTCUTMENU, MBUTTONPAN and CTRLMOUSE system variables affect the behavior of the CUI ButtonItems!