KeyModifiers Constants

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

These constants specify the state of the <Shift>, <Ctrl>, and <Alt> keys for the KeyDown, KeyUp, MouseDown, MouseUp, and MouseMove events.

  • KeyModifier_Alt–(Value: 0x4) The <Alt> key is pressed.
  • KeyModifier_Control–(Value: 0x2) The <Ctrl> key is pressed.
  • KeyModifier_None–(Value: 0x0) The <Shift>, <Ctrl>, and <Alt> keys are not pressed.
  • KeyModifier_Shift–(Value: 0x1) The <Shift> key is pressed.

WAS THIS ARTICLE HELPFUL?

Not Helpful