If the window uses a predefined redraw function (like
formulars for instance), the previous method is bad because you
have to code a new redraw function. To overcome this problem,
Windom uses a specific redraw function when the window is
iconified and you can call WindSet() with the WF_ICONDRAW mode
to define this specific redraw function. Syntax is :
WindSet( win, WF_ICONDRAW, icon_draw);
The icon redraw function has the same prototype than a standard
window redraw function and obeys to the same rules.