add func: new window in Windows