Use win parameters to store window-parameters