Partager via


KEYMODIFIERS enumeration

Describes additional keyboard states that can modify the meaning of the keyboard messages that are specified in IOleControlSite::TranslateAccelerator.

Syntax

typedef enum tagKEYMODIFIERS { 
  KEYMOD_SHIFT    = 0x0001,
  KEYMOD_CONTROL  = 0x0002,
  KEYMOD_ALT      = 0x0004
} KEYMODIFIERS;

Constants

  • KEYMOD_SHIFT
    The Shift key is currently depressed.

  • KEYMOD_CONTROL
    The Control key is currently depressed.

  • KEYMOD_ALT
    The Alt key is currently depressed.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

See also

IOleControlSite::TranslateAccelerator