Is there an event that triggers when a custom dialog has been minimized? I need my script to execute some commands when a user minimizes a custom dialog...
I think you can only minimize a dialog if its set to open on the desktop.... then " -ie = minimize/restore the dialog if created on the desktop" but i never set a dialog to open to the desktop before. So i guess my question to you is , is it set to open to the desktop?
AFAIK there is no event which will tell you that. The only way to know is to check $dialog().x (or $dialog().y) which returns "-32000" for minimized dialogs.
So it is possible to minimize a normal dialog? Just asking because mine are always on top.....
Yes you can minimize a dialog even if it's ontop.
/dialog -n unsets ontop setting FYI.
And also, this might be of some use to you.
/dialog -ie (minimize/restore the dialog if created on the desktop.)
No you can't use the -i (minimize) on non-desktop dialogs. I was referring to minimized desktop dialogs.
On a side note, you can hide non-desktop dialogs, //dialog -s dname -32000 -32000 $dialog(dname).cw $dialog(dname).ch
and unhide them /dialog -r dname
ahh .... ok i get it now ..... thanx for the info.