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