GetMouseShift method
      
 

Description

Returns an integer that corresponds to the state of the SHIFT, CTRL, and ALT keys when the button specified in the button argument is pressed or released.

Syntax

object.GetMouseShift () As Integer

Remarks

A bit is set if the key is down. The returned value is a bit field with the least-significant bits corresponding to the SHIFT key (1), the CTRL key (2), and the ALT key (4 ).