MKI_HookMouseStart (Hooks)

www.CAD6.com

C++ Syntax

bool

MKI_HookMouseStart(

 MKI_HOOKMOUSE_PROC f_fnCallBack );

 

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

 

Parameters

CallBack

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

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH