Programming guideline of WinDom
When a window is iconified, the same title than the uniconified
window is used. As the icon window is usually small, it could be
interesting to give a new title to this icon, generally a short one.
It is possible with WindSet() and the mode WF_ICONTITLE. This defines
the title of the window when it is iconified. This call can be
performed at any time, even when the window is iconified (as
WF_NAME). Example:
static char win_title[] = "My long window title";
static char icon_title[] = "ICON";
/* Define the window title when it is uniconified
* If the window is uniconified when proceeding this
* call, the window gets the new title */
WindSet( win, WF_NAME, win_title);
/* Define the window title when it is iconified
* If the window is iconified when proceeding this
* call, the window gets the new title */
WindSet( win, WF_ICONTITLE, icon_title);