+ if(!RegisterClassEx(&wcl_background)) {
+ MessageBox(0, "Could not register window class 2", "Install.exe", MB_OK);
+ return 1;
+ }
+
+ HWND background = CreateWindow(wcl_background.lpszClassName, "Setup SWFTools",
+ 0, 0, 0,
+ GetSystemMetrics(SM_CXFULLSCREEN),
+ GetSystemMetrics(SM_CYFULLSCREEN),
+ NULL, NULL, me, NULL);
+
+ if(!background) {
+ MessageBox(0, "Could not create installation background window", "Install.exe", MB_OK);
+ return 1;
+ }
+
+ ShowWindow(background, SW_SHOWMAXIMIZED);
+ UpdateWindow(background);
+
+ RECT r = {0,0,0,0};
+ GetWindowRect(background, &r);
+ int xx = 320, yy = 200;
+ if(r.right - r.left > 320)
+ xx = r.right - r.left;
+ if(r.right - r.left > 200)
+ yy = r.bottom - r.top;