This document is archived and information here might be outdated. Recommended version. |
Finds the accelerator object associated with the specified key combination.
[Visual Basic .NET] Public Function FindByKey ( _ ByVal Key As Integer, _ [ByVal bCtrl As Boolean], _ [ByVal bAlt As Boolean], _ [ByVal bShift As Boolean] _ ) As IAccelerator
[C#] public IAccelerator FindByKey ( int Key, bool bCtrl, bool bAlt, bool bShift );
Key The keycode used for this accelerator.
bCtrl True if the Ctrl key is one of the keys used in the accelerator; otherwise False.
bAlt True if the Alt key is one of the keys used in the accelerator; otherwise False.
bShift True if the Shift key is one of the keys used in the accelerator; otherwise False.
IAcceleratorTable Interface | IAccelerator Interface