MKI_HookPositionStart (Hooks)

www.CAD6.com

C++ Syntax

bool

MKI_HookPositionStart(

 MKI_HOOKPOSITION_PROC f_fnCallBack );

 

Establishes a hook on position calculation. As a result, the given CallBack procedure will be called each time the user moves the cursor, allowing the plug-in to view and alter the resulting cursor coordinates.

 

Parameters

CallBack

[MKI_HOOKPOSITION_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 position hook at a time, as the total number of hooks available is limited!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH