Returns amount of shortcuts that contains a KeyStroke satisfying following conditions: 1) this KeyStroke matches KeyDefs; 2) this KeyStroke has a maximum amount of shortcuts.
function IsHandled(KeyQueue: TKeyQueue; IgnoreCtrl: Boolean): integer;
IsHandled method looks through a KeyStrokes property for a KeyStroke with a maximum amount of shortcuts.
For example, if KeyQueue contains three shortcuts:"Esc+Esc+Esc" and KeyStrokes contains following matching KeyStrokes: "Esc", "Esc+Esc" and "Esc+Esc+Esc", IsHandled method returns amount of shortcuts in "Esc+Esc+Esc", that is 3.
|
Copyright (c) 2004-2011. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|