Home | History | Annotate | Download | only in bdist_wininst

Lines Matching defs:hwnd

118 HWND hwndMain;
119 HWND hDialog;
459 static HRESULT (WINAPI *My_SHGetSpecialFolderPath)(HWND hwnd,
471 My_SHGetSpecialFolderPath = (BOOL (WINAPI *)(HWND, LPTSTR,
1046 static void create_bitmap(HWND hwnd)
1058 hdc = GetDC(hwnd);
1069 ReleaseDC(hwnd, hdc);
1150 WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
1158 hdc = BeginPaint(hwnd, &ps);
1168 EndPaint(hwnd, &ps);
1171 return DefWindowProc(hwnd, msg, wParam, lParam);
1174 static HWND CreateBackground(char *title)
1177 HWND hwnd;
1197 hwnd = CreateWindow("SetupWindowClass",
1207 ShowWindow(hwnd, SW_SHOWMAXIMIZED);
1208 UpdateWindow(hwnd);
1209 return hwnd;
1215 static void CenterWindow(HWND hwnd)
1220 GetWindowRect(hwnd, &rc);
1223 MoveWindow(hwnd,
1232 IntroDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
1239 create_bitmap(hwnd);
1241 SendDlgItemMessage(hwnd, IDC_BITMAP, STM_SETIMAGE,
1243 CenterWindow(GetParent(hwnd));
1249 SetDlgItemText(hwnd, IDC_TITLE, Buffer);
1250 SetDlgItemText(hwnd, IDC_INTRO_TEXT, info);
1251 SetDlgItemText(hwnd, IDC_BUILD_INFO, build_info);
1259 PropSheet_SetWizButtons(GetParent(hwnd), PSWIZB_NEXT);
1415 * by hwnd. version, if not NULL or empty, is the version required.
1417 static BOOL GetOtherPythonVersion(HWND hwnd, LPSTR version)
1429 of.hwndOwner = GetParent(hwnd);
1453 itemindex = SendMessage(hwnd, LB_INSERTSTRING, -1,
1455 SendMessage(hwnd, LB_SETCURSEL, itemindex, 0);
1456 SendMessage(hwnd, LB_SETITEMDATA, itemindex,
1471 * Fill the listbox specified by hwnd with all python versions found
1475 static BOOL GetPythonVersions(HWND hwnd, HKEY hkRoot, LPSTR version)
1513 itemindex = SendMessage(hwnd, LB_ADDSTRING, 0,
1516 SendMessage(hwnd, LB_SETITEMDATA, itemindex,
1552 void CheckRootKey(HWND hwnd)
1563 MessageBox(hwnd, "Don't know Python's installation type",
1581 SelectPythonDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
1588 SendDlgItemMessage(hwnd, IDC_BITMAP, STM_SETIMAGE,
1590 GetPythonVersions(GetDlgItem(hwnd, IDC_VERSIONS_LIST),
1592 GetPythonVersions(GetDlgItem(hwnd, IDC_VERSIONS_LIST),
1597 count = SendDlgItemMessage(hwnd, IDC_VERSIONS_LIST,
1600 SendDlgItemMessage(hwnd, IDC_VERSIONS_LIST, LB_SETCURSEL,
1612 SetDlgItemText(hwnd
1625 MessageBox(hwnd, msg, "Cannot install",
1636 if (GetOtherPythonVersion(GetDlgItem(hwnd, IDC_VERSIONS_LIST),
1646 PropSheet_SetWizButtons(GetParent(hwnd),
1648 id = SendDlgItemMessage(hwnd, IDC_VERSIONS_LIST,
1651 PropSheet_SetWizButtons(GetParent(hwnd),
1653 SetDlgItemText(hwnd, IDC_PATH, "");
1654 SetDlgItemText(hwnd, IDC_INSTALL_PATH, "");
1661 PropSheet_SetWizButtons(GetParent(hwnd),
1665 SendDlgItemMessage(hwnd,
1672 SetDlgItemText(hwnd, IDC_PATH, python_dir);
1674 result = SendDlgItemMessage(hwnd, IDC_VERSIONS_LIST,
1679 SendDlgItemMessage(hwnd, IDC_VERSIONS_LIST,
1704 SetDlgItemText(hwnd, IDC_INSTALL_PATH, install_path);
1718 id = SendDlgItemMessage(hwnd, IDC_VERSIONS_LIST,
1721 PropSheet_SetWizButtons(GetParent(hwnd),
1724 PropSheet_SetWizButtons(GetParent(hwnd),
1883 InstallFilesDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
1892 SendDlgItemMessage(hwnd, IDC_BITMAP, STM_SETIMAGE,
1900 SetDlgItemText(hwnd, IDC_TITLE, Buffer);
1901 SetDlgItemText(hwnd, IDC_INFO, "Ready to install");
1905 SendDlgItemMessage(hwnd, IDC_PROGRESS, PBM_SETRANGE, 0, lParam);
1910 SendDlgItemMessage(hwnd, IDC_PROGRESS, PBM_SETPOS, wParam,
1912 SetDlgItemText(hwnd, IDC_INFO, (LPSTR)lParam);
1921 PropSheet_SetWizButtons(GetParent(hwnd),
1930 hDialog = hwnd;
1939 PropSheet_SetWizButtons(GetParent(hwnd), 0);
1940 SendMessage(GetParent(hwnd), PSM_CANCELTOCLOSE, 0, 0);
1948 CheckRootKey(hwnd);
1975 SetDlgItemText (hwnd, IDC_TITLE,
1983 SetDlgItemText(hwnd, IDC_TITLE, "Installing files...");
1992 SetDlgItemText(hwnd, IDC_TITLE,
2011 SetDlgItemText(hwnd, IDC_TITLE,
2038 FinishedDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
2045 SendDlgItemMessage(hwnd, IDC_BITMAP, STM_SETIMAGE,
2048 SetDlgItemText(hwnd, IDC_INFO, get_failure_reason());
2052 PostMessage(hwnd, WM_USER, 0, 0L);
2065 SetDlgItemText(hwnd, IDC_TITLE,
2083 SetDlgItemText(hwnd, IDC_INFO, buffer);
2084 hwnd, IDC_TITLE,
2100 PropSheet_SetWizButtons(GetParent(hwnd), PSWIZB_FINISH);
2119 void RunWizard(HWND hwnd)
2159 psh.hwndParent = hwnd;