Window creation using win32 api.