Form library FormCreate() FormBegin()
Programming guideline of WinDom

FormResize()

NAME

FormResize() - adapte the window size to a formular.

PROTOTYPAGE

void FormResize( WINDOW *win, INT16 *x, INT16 *y, INT16 *w, INT16 *h);

PARAMETERS

win:
window descriptor,

x,y,w,h:
new size and window position (if window is not opened at screen).

DESCRIPTION

This function computes the size of a window formular in order to host the formular. This function can be used to resize a formular when it changes its size.

If the window containing formular is already opened at screen, the window is resize and parameters x, y, w and h have not signification (NULL value can be used). If the window is not opened at screen, x, y, w and h parameters are filled with the new size and position and can be used to call WindSet(WF_CURRXYWH) function.

SEE ALSO

FormCreate(), FormAttach().