KEYMODIFIERS

The KEYMODIFIERS enumeration values are flags used in calls to IOleControlSite::TranslateAccelerator to describe additional keyboard states that can modify the meaning of the keyboard messages that are also passed into IOleControlSite::TranslateAccelerator.

typedef enum tagKEYMODIFIERS 
{ 
    KEYMOD_SHIFT      = 0x00000001, 
    KEYMOD_CONTROL    = 0x00000002, 
    KEYMOD_ALT        = 0x00000004 
} KEYMODIFIERS; 
 

Elements

KEYMOD_SHIFT
The Shift key is currently depressed.
KEYMOD_CONTROL
The Control key is currently depressed.
KEYMOD_ALT
The Alt key is currently depressed.

QuickInfo

  Windows NT: Use version 3.1 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in controls.idl.

See Also

IOleControlSite::TranslateAccelerator