Window iconification The WindGet()/WindSet() functions Drawing the icon windows
Programming guideline of WinDom

The standard functions

WindCreate() attributes the standard functions std_icn(), std_unicn(), std_allicn() to the messages WM_ICONIFY, WM_UNICONIFY and WM_ALLICONIFY.

std_icn()
The function calls directly WindSet() with right parameters (WF_ICONIFY mode). When a window is iconified the WS_ICONIFY flag of the win->status variable is set to 1.

std_allicn()
All windows are closed except the window targetted by the message. Each window has the WS_ALLICNF status. The targetted window is iconified with the function WindSet() and the desktop menu (if defined) is disabled with the function MenuDisable().

std_unicn()
This function uniconifies the targetted window. The WS_ICONIFY status is unset. If the window has the WS_ALLICNF status, all windows closed with the WS_ALLICNF status are opened at their previous location. The desktop menu (if defined) is restored using MenuEnable().