MKI_HookKeyStart (Hooks)

www.CAD6.com

C++ Syntax

bool

MKI_HookKeyStart(

 MKI_HOOKKEY_PROC f_fnCallBack );

 

Establishes a hook on key events. As a result, the given CallBack procedure will be called each time a key event occurs.

 

Parameters

CallBack

[MKI_HOOKKEY_PROC] Address of the callback procedure to be enabled.

 

Return Value

Returns true is the hook has been established successfully, else false.

 

Comment

Each plug-in should not establish more than one key hook at a time, as the total number of hooks available is limited!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH