GetAcceleratorCode Data Member Function

Returns a string that contains a hexadecimal code for a keyboard accelerator.

Prototype

static string GetAcceleratorCode( int32 p_uKey, int32 p_uAccelerator )

Parameters

Parameter Type Parameter Name Documentation
int32p_uKeyA <uint32> representing the Windows® key code for an alphanumeric key such as A, B, C, D, 1, 2, 3. The values for many keys are found in winuser.h or can be acquired by calling this object's GetKeyboardKeyValues and GetKeyboardKeyNames functions.
int32p_uAcceleratorA <uint32> representing the accelerator key code such as ALT, SHIFT, or CTRL. This refers to various constants defined in TYPE_KEYBOARD_ACCELERATOR_WIZARD_CLASSES.SSL.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.