OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: cadplayer on April 05, 2013, 05:42:51 AM

Title: Modless dialog box closed than ESC
Post by: cadplayer on April 05, 2013, 05:42:51 AM
Hello!

I have created a modless dialog box. When I run program menu comes but if I mark menu an press ESC it disappear. Have anybody a trick unless I push windowsbutton "x" the menu should close.
Title: Re: Modless dialog box closed than ESC
Post by: Fred Tomke on April 05, 2013, 06:00:17 AM
Yes, have a look here: http://www.opendcl.com/forum/index.php?topic=1061.0
You can catch the event using CancelClose event.

Regards, Fred
Title: Re: Modless dialog box closed than ESC
Post by: cadplayer on April 05, 2013, 06:14:16 AM
Thanks Fred, I tryed your code, and it works. But here I have the problem I only can close dialog when I push close button.
I ´d like both close only dialog when I push x from window.