I can't find any way of listening to the EnterIdleEvent with the CONNECT .NET API. I guess it was possible in V8i to P/Invoke "mdlInput_setFunction (INPUT_ENTER_IDLE, OnEnterIdleState);" to get the same event, but it seems that this function is not exported in CONNECT anymore.
Is there any replacement?
Tomáš Juřík said:I guess it was possible in V8i to P/Invoke "mdlInput_setFunction (INPUT_ENTER_IDLE, OnEnterIdleState);" to get the same event
As far I as remember, the "enter idle" even was available in Interop (and VBA) directly and there was no reason to use P/Invoke. But I am not sure whether the functionality was exactly the same or not.
I am not sure what is the best way now and whether there is such functionality in NET API, but in Interop the event should be available.
P.S. Please follow this forum best practices and specify product and version you use.
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point