WindowIcon Event
The WindowIcon event is triggered when a frame is minimized to an icon.
This event has the following syntax:
on windowicon
This event has no attributes.
Usage: The WindowIcon event can be used in frame scripts only.
The WindowIcon event can be used to let the user know that the window has been minimized to an icon. This event occurs after the transition, so the user cannot cancel this change.