Fixed build.
"Nice" improvement DS.
1 #include "InstallerMain.h"
3 #include "ChooseMethod.h"
5 bool g_bIsFirstRun = true;
7 INT_PTR CALLBACK WelcomeHandler(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
15 SetToGlobalPosition(hDlg);
19 g_bIsFirstRun = false;
25 if (LOWORD(wParam) == ID_WELCOME_EXIT
26 || LOWORD(wParam) == ID_CLOSE)
28 UpdateGlobalPosition(hDlg);
29 EndDialog(hDlg, NULL);
32 else if (LOWORD(wParam) == ID_WELCOME_NEXT)
34 UpdateGlobalPosition(hDlg);
35 EndDialog(hDlg, (INT_PTR)DisplayChooseMethod);
42 return (INT_PTR)FALSE;
45 void *DisplayWelcome(HWND hWnd)
51 MAKEINTRESOURCE(IDD_WELCOME),
53 WelcomeHandler)) == -1)