Programming with Reflection

image\rwnprg32.gif GetKeyMapCommandType method


Syntax ActionType = object.GetKeyMapCommandType(Modifiers, Key)



Returns the type of command associated with the specified keystroke.


Modifiers Argument Type: Enumeration
A keystroke consists of a primary key and one or more optional modifier keys¾Alt, Ctrl, and Shift. The possible modifier keys are:





 To specify multiple modifier keys, use the addition operator (+). For example: rcAltKey + rcCtrlKey.

Key Argument Type: String
A string representation of a PC key, such as "K", "F1", or "NumLock." Click here to see a list of keys.


ActionType Return type: Enumeration
A number that indicates the type of action associated with the mapped keystroke. This will be one of the following. See SetKeyMap for details.











image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command