Programming guideline of WinDom
When EvntWindom() receives an iconification message, it calls the
associated function. The function WindCreate() attributes a set of
standard functions (that allows window to handle automatically the
iconification). Let's explain the signification of each message and
what do the standard functions attributed to these messages.
Structure of the message:
evnt.buff[ 0] = WM_ICONIFY, WM_UNICONIFY, WM_ALLICONIFY
evnt.buff[ 1] = AES application identifier of sender
evnt.buff[ 2] = always 0
evnt.buff[ 3] = window handle
evnt.buff[ 4] = x coordinate
evnt.buff[ 5] = y coordinate
evnt.buff[ 6] = width
evnt.buff[ 7] = height
- WM_ICONIFY:
- signification: a window should be iconified at
position (x,y,w,h).
- probable origin: Depends on system:
- iconifier wigdet was clicked,
- closer widget was clicked with the SHIFT key
pressed,
- manual emission of the message.
- standard function: std_icn() iconifies the window
using WindSet().
- WM_UNICONIFY:
- signification: an icon window should be uniconified at
position (x,y,w,h).
- probable origin: the user has double-clicked on the
window workspace (or manual emission of the message).
- standard function: std_unicn() uniconifies the window
using WindSet().
- WM_ALLICONIFY:
- signification: all windows should be iconified in a
unique icon at postion (x,y,w,h).
- probable origin: Depends on system:
- iconifier wigdet was clicked with the CONTROL key
pressed,
- closer widget was clicked with the SHIFT and
CONTROLS keys depressed,
- manual emission of the message.
- standard function: std_allicn() closes all windows
except one. This one is iconified at position (x,y,w,h).