hiRegSetBindKeyProc
hiRegSetBindKeyProc(t_application S_function [ g_notInherited ]) =>t / nil
Description
Registers a SKILL function that will be called after a bindkey is set for the specified application with the hiSetBindKey function or the CIW Key or Mouse Binding form, or after a set of bindkeys is defined with the hiSetBindKeys function.
If there are any errors while setting a bindkey with hiSetBindKey, the function will not be called. If an error prevents hiSetBindKeys from setting any bindkeys, the function will not be called; however, errors during the setting of individual keys will not prevent the function from being called. The function will be called even if no change occurred as a result of calling hiSetBindKey or hiSetBindKeys.
If you are registering an application that inherits bindkeys from another application, you should also register the function with the root application that it inherits them from. This will allow you to view all changes made to the bindkeys that apply to the alias application.
You can use the hiGetBindKeyInheritRoot function to get the base application.
Arguments
Values Returned
|
t_application is not registered, t_application inherits from another application prefix, or S_function is not a valid name or symbol. A warning is also displayed. |
Related Topics
Return to top