Customize Mouse Buttons

AutoCAD

 
Customize Mouse Buttons
Concept Procedure
 
 
 

You can change the standard behavior of pointing devices in the program.

Mouse buttons define how a Windows system pointing device functions. You can customize the behavior of a mouse or other pointing device in the Customize User Interface (CUI) Editor. If a pointing device has more than two buttons, you can change the behavior of the second and third buttons. The first button on any pointing device cannot be changed in the Customize User Interface (CUI) Editor.

By using the SHIFT and CTRL keys, you can create a number of combinations to suit your needs. Your pointing device can recognize as many commands as it has assignable buttons. The Mouse Buttons section of the tree node is organized by keyboard combination such as Click, SHIFT+Click, CTRL+Click, and CTRL+SHIFT+Click. The tablet buttons are numbered sequentially. Drag a command to assign the command to a mouse button. Create additional buttons by dragging commands to a Click node.

The following table shows the Click mouse button properties as they appear in the Properties pane.

Properties for the Click Mouse Button

Properties Pane Item

Description

Example

Aliases

Specifies the aliases for the mouse button. Click the [] button to open the Aliases dialog box. Each alias in the CUI file should be unique and it is used to reference the mouse button programmatically.

AUX1

  • Accept Coordinate Entry in Button Menus

    When you click one of the buttons on a multibutton pointing device, the program reads not only the button number but also the coordinate of the crosshairs at the time you click. By carefully constructing macros, you can choose to either ignore the coordinate or use it with the command activated by the button.