Combining shift state hotkeys in Visual Basic 6 used in shadowing API

Added by Vishal Ganeriwala , last edited by Vishal Ganeriwala on Oct 02, 2007
Tags: 

Combining shift state hotkeys in Visual Basic 6 used in shadowing APIThe following information pertains to the Citrix Server SDK (WFAPI) Versions 2.x.

In Chapter 4 of the SDK, "Visual Basic API Reference" under WFShadowSession,Parameters, ByVal HKModifier, the following statement is included:

"Hotkey modifiers can be combined."

To combine these hotkeys; for example, CTRL+ALT, add the values of the modifiers together.

Example:

CurrentModifier = &H2 Set Modifier to CTRL
CurrentModifier = &H1 Set Modifier to ALT

CurrentModifier = &H3 Set Modifier to CTRL+ALT