CMDNAMES and CMDACTIVE variabile in MouseEntered event

Started by Emiliano, August 06, 2016, 06:28:16 AM

Previous topic - Next topic

Emiliano

Hi,
I'm using OpenDCL.
Within a ControlBar I put an event "MouseEntered".

I want to prevent the MouseEntered event's operation when there is an active command.
To do this I checked the variable (if (= (getvar "CMDNAMES") "")..... and also CMDACTIVE
I want to prevent the event activation 'MouseEntered' even during the execution of a LISP function c:CommandName.

Unfortunately (getvar "CMDNAMES") returns "" when a LISP command is running.
Unfortunately (getvar "CMDACTIVE ") returns 0 when a LISP command is running.

How can I determine if a lisp function running?