Lines Matching refs:hwndDlg

862 	HWND hwndDlg,  in PreviewDialogProc()  argument
881 EnumChildWindows( hwndDlg, GrowChildWindows, MAKELONG( (SHORT)dxClient, (SHORT)dyClient) ); in PreviewDialogProc()
883 GetClientRect( hwndDlg, &rcClient ); in PreviewDialogProc()
888 GetClientRect( hwndDlg, &rcClient ); in PreviewDialogProc()
889 SetGrowMode( GetDlgItem(hwndDlg, IDC_EDIT_PREVIEW), GM_HIX | GM_HIY ); in PreviewDialogProc()
890 SetGrowMode( GetDlgItem(hwndDlg, IDOK), GM_LOX | GM_HIX | GM_LOY | GM_HIY ); in PreviewDialogProc()
895 HINSTANCE hInstance = (HINSTANCE)GetWindowLong( hwndDlg, GWL_HINSTANCE ); in PreviewDialogProc()
896 HWND hwndParent = (HWND)GetWindowLong( hwndDlg, GWL_HWNDPARENT ); in PreviewDialogProc()
899 SetWindowText( hwndDlg, szBuffer ); in PreviewDialogProc()
902 Button_SetText( GetDlgItem(hwndDlg, IDOK), szBuffer ); in PreviewDialogProc()
975 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_PREVIEW), aString.c_str() ); in PreviewDialogProc()
978 … SetWindowFont( GetDlgItem(hwndDlg, IDC_EDIT_PREVIEW), GetStockObject( SYSTEM_FIXED_FONT ), TRUE ); in PreviewDialogProc()
986 EndDialog( hwndDlg, wParam ); in PreviewDialogProc()
1015 void UpdateOptionsDialogControls( HWND hwndDlg ) in UpdateOptionsDialogControls() argument
1017 if ( Button_GetCheck( GetDlgItem(hwndDlg, IDC_RADIO_MANUAL) ) & BST_CHECKED ) in UpdateOptionsDialogControls()
1019 EnableWindow( GetDlgItem(hwndDlg, IDC_EDIT_PROXYSERVER), TRUE ); in UpdateOptionsDialogControls()
1020 EnableWindow( GetDlgItem(hwndDlg, IDC_EDIT_PROXYPORT), TRUE ); in UpdateOptionsDialogControls()
1024 EnableWindow( GetDlgItem(hwndDlg, IDC_EDIT_PROXYSERVER), FALSE ); in UpdateOptionsDialogControls()
1025 EnableWindow( GetDlgItem(hwndDlg, IDC_EDIT_PROXYPORT), FALSE ); in UpdateOptionsDialogControls()
1032 HWND hwndDlg, in OptionsDialogProc() argument
1045 HINSTANCE hInstance = (HINSTANCE)GetWindowLong( hwndDlg, GWL_HINSTANCE ); in OptionsDialogProc()
1051 SetWindowText( hwndDlg, szBuffer ); in OptionsDialogProc()
1054 Static_SetText( GetDlgItem(hwndDlg, IDC_PROXY_SETTINGS), szBuffer ); in OptionsDialogProc()
1057 Button_SetText( GetDlgItem(hwndDlg, IDC_RADIO_SYSTEM), szBuffer ); in OptionsDialogProc()
1060 Button_SetText( GetDlgItem(hwndDlg, IDC_RADIO_DIRECT), szBuffer ); in OptionsDialogProc()
1063 Button_SetText( GetDlgItem(hwndDlg, IDC_RADIO_MANUAL), szBuffer ); in OptionsDialogProc()
1066 Static_SetText( GetDlgItem(hwndDlg, IDC_LABEL_PROXYSERVER), szBuffer ); in OptionsDialogProc()
1069 Static_SetText( GetDlgItem(hwndDlg, IDC_LABEL_PROXYPORT), szBuffer ); in OptionsDialogProc()
1072 Button_SetText( GetDlgItem(hwndDlg, IDOK), szBuffer ); in OptionsDialogProc()
1075 Button_SetText( GetDlgItem(hwndDlg, IDCANCEL), szBuffer ); in OptionsDialogProc()
1077 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_PROXYSERVER), pParams->sProxyServer.c_str() ); in OptionsDialogProc()
1078 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_PROXYPORT), pParams->sProxyPort.c_str() ); in OptionsDialogProc()
1080 …Button_SetCheck( GetDlgItem(hwndDlg, IDC_RADIO_SYSTEM + pParams->uInternetConnection), BST_CHECKED… in OptionsDialogProc()
1083 GetDlgItem(hwndDlg, IDC_PROXY_DESCRIPTION), in OptionsDialogProc()
1088 Edit_SetText( GetDlgItem(hwndDlg, IDC_PROXY_DESCRIPTION), szBuffer ); in OptionsDialogProc()
1090 UpdateOptionsDialogControls( hwndDlg ); in OptionsDialogProc()
1100 UpdateOptionsDialogControls( hwndDlg ); in OptionsDialogProc()
1106 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_PROXYSERVER), szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1109 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_PROXYPORT), szBuffer, elementsof(szBuffer) ); in OptionsDialogProc()
1112 if ( Button_GetCheck( GetDlgItem(hwndDlg, IDC_RADIO_DIRECT) ) & BST_CHECKED ) in OptionsDialogProc()
1114 else if ( Button_GetCheck( GetDlgItem(hwndDlg, IDC_RADIO_MANUAL) ) & BST_CHECKED ) in OptionsDialogProc()
1120 EndDialog( hwndDlg, wParam ); in OptionsDialogProc()
1149 void UpdateReportDialogControls( HWND hwndDlg ) in UpdateReportDialogControls() argument
1152 GetDlgItem(hwndDlg, IDC_EDIT_EMAIL), in UpdateReportDialogControls()
1153 Button_GetCheck(GetDlgItem(hwndDlg, IDC_ALLOW_CONTACT)) & BST_CHECKED ? TRUE : FALSE ); in UpdateReportDialogControls()
1155 GetDlgItem(hwndDlg, IDC_LABEL_EMAIL), in UpdateReportDialogControls()
1156 Button_GetCheck(GetDlgItem(hwndDlg, IDC_ALLOW_CONTACT)) & BST_CHECKED ? TRUE : FALSE ); in UpdateReportDialogControls()
1162 HWND hwndDlg, in ReportDialogProc() argument
1172 …CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( GetParent(hwndDlg), GWL_USERDATA ); in ReportDialogProc()
1173 HINSTANCE hInstance = (HINSTANCE)GetWindowLong(hwndDlg, GWL_HINSTANCE ); in ReportDialogProc()
1177 Static_SetText( GetDlgItem(hwndDlg, IDC_REPORT_INTRO), szBuffer ); in ReportDialogProc()
1179 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT3), szBuffer ); in ReportDialogProc()
1182 Static_SetText( GetDlgItem(hwndDlg, IDC_ENTER_TITLE), szBuffer ); in ReportDialogProc()
1185 Static_SetText( GetDlgItem(hwndDlg, IDC_ENTER_DESCRIPTION), szBuffer ); in ReportDialogProc()
1188 Button_SetText( GetDlgItem(hwndDlg, IDC_SHOW_REPORT), szBuffer ); in ReportDialogProc()
1191 Button_SetText( GetDlgItem(hwndDlg, IDC_SAVE_REPORT), szBuffer ); in ReportDialogProc()
1195 ShowWindow( GetDlgItem(hwndDlg, IDC_SAVE_REPORT), SW_SHOW ); in ReportDialogProc()
1197 ShowWindow( GetDlgItem(hwndDlg, IDC_SAVE_REPORT), SW_HIDE ); in ReportDialogProc()
1200 Button_SetText( GetDlgItem(hwndDlg, IDC_OPTIONS), szBuffer ); in ReportDialogProc()
1203 Button_SetText( GetDlgItem(hwndDlg, IDC_ALLOW_CONTACT), szBuffer ); in ReportDialogProc()
1204 …Button_SetCheck( GetDlgItem(hwndDlg, IDC_ALLOW_CONTACT), pParams->fAllowContact ? BST_CHECKED : BS… in ReportDialogProc()
1207 Button_SetText( GetDlgItem(hwndDlg, IDC_LABEL_EMAIL), szBuffer ); in ReportDialogProc()
1209 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_EMAIL), pParams->sEmail.c_str() ); in ReportDialogProc()
1211 UpdateReportDialogControls( hwndDlg ); in ReportDialogProc()
1217 HINSTANCE hInstance = (HINSTANCE)GetWindowLong(hwndDlg, GWL_HINSTANCE ); in ReportDialogProc()
1218 …CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( GetParent(hwndDlg), GWL_USERDATA ); in ReportDialogProc()
1222 SetWindowText( GetParent(hwndDlg), szBuffer ); in ReportDialogProc()
1225 SetWindowText( GetDlgItem(GetParent(hwndDlg), IDC_HEADER), szBuffer ); in ReportDialogProc()
1228 Button_SetText( GetDlgItem(GetParent(hwndDlg), IDCANCEL), szBuffer ); in ReportDialogProc()
1231 ShowWindow( GetDlgItem(GetParent(hwndDlg),IDBACK), TRUE ); in ReportDialogProc()
1232 ShowWindow( GetDlgItem(GetParent(hwndDlg),IDFINISH), TRUE ); in ReportDialogProc()
1233 ShowWindow( GetDlgItem(GetParent(hwndDlg),IDNEXT), FALSE ); in ReportDialogProc()
1235 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_TITLE), pParams->sTitle.c_str() ); in ReportDialogProc()
1236 Edit_SetText( GetDlgItem(hwndDlg, IDC_EDIT_DESCRIPTION), pParams->sComment.c_str() ); in ReportDialogProc()
1244 SetFocus( GetDlgItem(hwndDlg,IDC_EDIT_TITLE) ); in ReportDialogProc()
1254 …CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( GetParent(hwndDlg), GWL_USERDATA ); in ReportDialogProc()
1256 … pParams->fAllowContact = Button_GetCheck( GetDlgItem(hwndDlg, IDC_ALLOW_CONTACT) ) ? TRUE : FALSE; in ReportDialogProc()
1258 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_TITLE), szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1261 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_DESCRIPTION), szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1264 Edit_GetText( GetDlgItem(hwndDlg, IDC_EDIT_EMAIL), szBuffer, elementsof(szBuffer) ); in ReportDialogProc()
1267 PreviewReport( GetParent(hwndDlg), pParams ); in ReportDialogProc()
1271 SaveDumpFile( GetParent(hwndDlg) ); in ReportDialogProc()
1275 …CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( GetParent(hwndDlg), GWL_USERDATA ); in ReportDialogProc()
1276 OptionsDialog( GetParent(hwndDlg), pParams ); in ReportDialogProc()
1281 UpdateReportDialogControls( hwndDlg ); in ReportDialogProc()
1293 BOOL CALLBACK WelcomeDialogProc( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) in WelcomeDialogProc() argument
1299 HINSTANCE hInstance = (HINSTANCE)GetWindowLong(hwndDlg, GWL_HINSTANCE ); in WelcomeDialogProc()
1300 HWND hwndRichEdit = GetDlgItem(hwndDlg, IDC_RICHEDIT21); in WelcomeDialogProc()
1325 SetWindowText( GetParent(hwndDlg), szCaption ); in WelcomeDialogProc()
1332 HINSTANCE hInstance = (HINSTANCE)GetWindowLong(hwndDlg, GWL_HINSTANCE ); in WelcomeDialogProc()
1336 SetWindowText( GetParent(hwndDlg), szBuffer ); in WelcomeDialogProc()
1339 SetWindowText( GetDlgItem(GetParent(hwndDlg), IDC_HEADER), szBuffer ); in WelcomeDialogProc()
1342 Button_SetText( GetDlgItem(GetParent(hwndDlg), IDCANCEL), szBuffer ); in WelcomeDialogProc()
1344 ShowWindow( GetDlgItem(GetParent(hwndDlg),IDBACK), FALSE ); in WelcomeDialogProc()
1345 ShowWindow( GetDlgItem(GetParent(hwndDlg),IDFINISH), FALSE ); in WelcomeDialogProc()
1346 ShowWindow( GetDlgItem(GetParent(hwndDlg),IDNEXT), TRUE ); in WelcomeDialogProc()
1348 SetFocus( GetDlgItem(GetParent(hwndDlg),IDNEXT) ); in WelcomeDialogProc()
1369 ShellExecute( hwndDlg, NULL, szBuffer, NULL, NULL, SW_SHOWDEFAULT ); in WelcomeDialogProc()
1383 BOOL CALLBACK DialogProc( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) in DialogProc() argument
1392 HINSTANCE hInstance = (HINSTANCE)GetWindowLong(hwndDlg, GWL_HINSTANCE ); in DialogProc()
1395 SetWindowLong( hwndDlg, GWL_USERDATA, (LONG)lParam ); in DialogProc()
1399 hwndDlg, in DialogProc()
1405 hwndDlg, in DialogProc()
1415 GetDlgItem(hwndDlg, IDC_HEADER), in DialogProc()
1421 Button_SetText( GetDlgItem(hwndDlg, IDCANCEL), szBuffer ); in DialogProc()
1424 Button_SetText( GetDlgItem(hwndDlg, IDNEXT), szBuffer ); in DialogProc()
1427 Button_SetText( GetDlgItem(hwndDlg, IDFINISH), szBuffer ); in DialogProc()
1430 Button_SetText( GetDlgItem(hwndDlg, IDBACK), szBuffer ); in DialogProc()
1436 SetWindowPos( hwndDlg, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE ); in DialogProc()
1461 CrashReportParams *pParams = (CrashReportParams*)GetWindowLong( hwndDlg, GWL_USERDATA ); in DialogProc()
1480 MessageBox( hwndDlg, szMessage, NULL, MB_ICONERROR | MB_OK ); in DialogProc()
1490 if ( !SendCrashReport( hwndDlg, *pParams ) ) in DialogProc()
1496 EndDialog( hwndDlg, wParam ); in DialogProc()
2604 HWND hwndDlg, in SendingStatusDialogProc() argument
2618 HINSTANCE hInstance = (HINSTANCE)GetWindowLong( hwndDlg, GWL_HINSTANCE ); in SendingStatusDialogProc()
2624 SetWindowText( hwndDlg, szBuffer ); in SendingStatusDialogProc()
2627 Static_SetText( GetDlgItem(hwndDlg, IDC_SENDING_REPORT_STATUS), szBuffer ); in SendingStatusDialogProc()
2630 Button_SetText( GetDlgItem(hwndDlg, IDCANCEL), szBuffer ); in SendingStatusDialogProc()
2632 pRequest->hwndStatus = hwndDlg; in SendingStatusDialogProc()
2645 EndDialog( hwndDlg, wParam ); in SendingStatusDialogProc()