typedef struct _window { int handle; /* AES Handle of the window */ int attrib; /* window widgets */ int status; /* WinDom status (see Window status flags) */ W_GRAFPORT graf; /* VDI workstation opened for the window */ W_MENU menu; /* menu ressources */ W_FORM tool; /* toolbar ressources */ W_ICON icon; /* iconified window related */ GRECT createsize; /* Original window size */ char* name; /* window name */ char* info; /* information bar */ INT16 w_max, h_max; /* maximal window size */ INT16 w_min, h_min; /* minimal window size */ long xpos, ypos; /* relative data position in the window */ long xpos_max, ypos_max; /* Maximal values of previous variables */ INT16 w_u, h_u; /* vertical and horizontal scroll offset */ struct _window *next; /* next window */ int type; /* user window type */ void *data; /* window data - reserved */ void *binding, last; /* window events - reserved */ } WINDOW, *WINDOWPTR;