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.
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
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.