Problem with "OnMouseEntered" event

Started by Emiliano · 2012-08-12 07:57 UTC · 3 replies · SMF topic #1855

Hello everyone,
I have a problem with the event "OnMouseEntered" placed on "Control Bars".

I have refined some native AutoCAD commands, eg. the command "copy".
Unfortunately when I start a command redefined, if the mouse stepped on the form is initiated the event "OnMouseEntered" causing the following error:
can not return to LISP.
Point is not valid.


and other possible side effects.  :'(

How do I prevent this?
Do you have any suggestions?
thanks
Try adding a (princ) statement to suppress the return value from the event handler.
Maybe it will help to set your form's Event Invoke property to Asynchronous.
author=owenwengerd link=topic=1855.msg9118#msg9118 date=1344771615 wrote:
Maybe it will help to set your form's Event Invoke property to Asynchronous.


Ok, this is the right solution!
I hope, however, does not affect other parts of my application ... :'(