Changeset 302 in dev for trunk/abdev/ProjectEditor/DialogBoxes.cpp
- Timestamp:
- Aug 24, 2007, 2:13:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/ProjectEditor/DialogBoxes.cpp
r119 r302 439 439 //"プロジェクト名の先頭文字はアルファベット(A~Z、a~z)またはアンダーバー(_)でなければなりません。" 440 440 MessageBox(hwnd,STRING_ERROR_PROJECTTOPCHAR,STRING_ERROR,MB_OK|MB_ICONEXCLAMATION); 441 SetWindowLong (hwnd,DWL_MSGRESULT,-1);441 SetWindowLongPtr(hwnd,DWLP_MSGRESULT,-1); 442 442 return 1; 443 443 } … … 447 447 //"プロジェクト名に不正な文字コードが含まれています。" 448 448 MessageBox(hwnd,STRING_ERROR_PROJECTNAME,STRING_ERROR,MB_OK|MB_ICONEXCLAMATION); 449 SetWindowLong (hwnd,DWL_MSGRESULT,-1);449 SetWindowLongPtr(hwnd,DWLP_MSGRESULT,-1); 450 450 return 1; 451 451 } … … 490 490 i=0; 491 491 psp.pszTemplate=MAKEINTRESOURCE(IDD_NEWPROJECT_PAGE1); 492 psp.pfnDlgProc= DlgNewProject_Page1;492 psp.pfnDlgProc=(DLGPROC)DlgNewProject_Page1; 493 493 hpsp[i]=CreatePropertySheetPage(&psp); 494 494 i++; 495 495 psp.pszTemplate=MAKEINTRESOURCE(IDD_NEWPROJECT_PAGE2); 496 psp.pfnDlgProc= DlgNewProject_Page2;496 psp.pfnDlgProc=(DLGPROC)DlgNewProject_Page2; 497 497 hpsp[i]=CreatePropertySheetPage(&psp); 498 498 i++; 499 499 psp.pszTemplate=MAKEINTRESOURCE(IDD_NEWPROJECT_PAGE3); 500 psp.pfnDlgProc= DlgNewProject_Page3;500 psp.pfnDlgProc=(DLGPROC)DlgNewProject_Page3; 501 501 hpsp[i]=CreatePropertySheetPage(&psp); 502 502 … … 952 952 psp[i].hInstance=hResInst; 953 953 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_PJ_OPTION1); 954 psp[i].pfnDlgProc= DlgProjectOption_Whole;954 psp[i].pfnDlgProc=(DLGPROC)DlgProjectOption_Whole; 955 955 hpsp[i]=CreatePropertySheetPage(&psp[i]); 956 956 i++; … … 959 959 psp[i].hInstance=hResInst; 960 960 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_PJ_OPTION2); 961 psp[i].pfnDlgProc= DlgProjectOption_Win32API;961 psp[i].pfnDlgProc=(DLGPROC)DlgProjectOption_Win32API; 962 962 hpsp[i]=CreatePropertySheetPage(&psp[i]); 963 963 i++; … … 966 966 psp[i].hInstance=hResInst; 967 967 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_PJ_OPTION3); 968 psp[i].pfnDlgProc= DlgProjectOption_Manifest;968 psp[i].pfnDlgProc=(DLGPROC)DlgProjectOption_Manifest; 969 969 hpsp[i]=CreatePropertySheetPage(&psp[i]); 970 970 i++; … … 973 973 psp[i].hInstance=hResInst; 974 974 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_PJ_OPTION4); 975 psp[i].pfnDlgProc= DlgProjectOption_Debug;975 psp[i].pfnDlgProc=(DLGPROC)DlgProjectOption_Debug; 976 976 hpsp[i]=CreatePropertySheetPage(&psp[i]); 977 977 … … 1599 1599 #ifdef THETEXT 1600 1600 case IDC_SAVE: 1601 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_OPTION_THEME_SAVE),hwnd, DlgOptionThemeSave)) return 1;1601 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_OPTION_THEME_SAVE),hwnd,(DLGPROC)DlgOptionThemeSave)) return 1; 1602 1602 1603 1603 pobj_Theme=pobj_DBTheme->dupli_check(szNewThemeName); … … 2024 2024 switch(LOWORD(wParam)){ 2025 2025 case IDC_ADD: 2026 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_OPTION_WEB_DOMAIN_ADD),hwnd, Dlg_Option_Web_Domain_Add,-1)) return 1;2026 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_OPTION_WEB_DOMAIN_ADD),hwnd,(DLGPROC)Dlg_Option_Web_Domain_Add,-1)) return 1; 2027 2027 2028 2028 pobj_temp_DBDomain->add(szDomainAdd_Name,szDomainAdd_Domain); … … 2047 2047 ListView_GetItemText(hListView,i,1,szDomainAdd_Domain,255); 2048 2048 lstrcpy(temporary,szDomainAdd_Name); 2049 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_OPTION_WEB_DOMAIN_ADD),hwnd, Dlg_Option_Web_Domain_Add,i)) return 1;2049 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_OPTION_WEB_DOMAIN_ADD),hwnd,(DLGPROC)Dlg_Option_Web_Domain_Add,i)) return 1; 2050 2050 2051 2051 pobj_temp_DBDomain->change(temporary,szDomainAdd_Name,szDomainAdd_Domain); … … 2078 2078 ListView_GetItemText(nmhdr->hwndFrom,lpnmListView->iItem,1,szDomainAdd_Domain,255); 2079 2079 lstrcpy(szBeforeName,szDomainAdd_Name); 2080 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_OPTION_WEB_DOMAIN_ADD),hwnd, Dlg_Option_Web_Domain_Add,lpnmListView->iItem)) return 1;2080 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_OPTION_WEB_DOMAIN_ADD),hwnd,(DLGPROC)Dlg_Option_Web_Domain_Add,lpnmListView->iItem)) return 1; 2081 2081 2082 2082 pobj_temp_DBDomain->change(szBeforeName,szDomainAdd_Name,szDomainAdd_Domain); … … 2108 2108 psp[i].hInstance=hResInst; 2109 2109 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_OPTION_WHOLE); 2110 psp[i].pfnDlgProc= Dlg_Option_Whole;2110 psp[i].pfnDlgProc=(DLGPROC)Dlg_Option_Whole; 2111 2111 hpsp[i]=CreatePropertySheetPage(&psp[i]); 2112 2112 i++; … … 2115 2115 psp[i].hInstance=hResInst; 2116 2116 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_OPTION_EDITOR); 2117 psp[i].pfnDlgProc= Dlg_Option_Editor;2117 psp[i].pfnDlgProc=(DLGPROC)Dlg_Option_Editor; 2118 2118 hpsp[i]=CreatePropertySheetPage(&psp[i]); 2119 2119 i++; … … 2122 2122 psp[i].hInstance=hResInst; 2123 2123 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_OPTION_COLOR); 2124 psp[i].pfnDlgProc= Dlg_Option_Color;2124 psp[i].pfnDlgProc=(DLGPROC)Dlg_Option_Color; 2125 2125 hpsp[i]=CreatePropertySheetPage(&psp[i]); 2126 2126 i++; … … 2129 2129 psp[i].hInstance=hResInst; 2130 2130 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_OPTION_TOOLBAR); 2131 psp[i].pfnDlgProc= Dlg_Option_Toolbar;2131 psp[i].pfnDlgProc=(DLGPROC)Dlg_Option_Toolbar; 2132 2132 hpsp[i]=CreatePropertySheetPage(&psp[i]); 2133 2133 … … 2139 2139 psp[i].hInstance=hResInst; 2140 2140 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_OPTION_RAD); 2141 psp[i].pfnDlgProc= Dlg_Option_Rad;2141 psp[i].pfnDlgProc=(DLGPROC)Dlg_Option_Rad; 2142 2142 hpsp[i]=CreatePropertySheetPage(&psp[i]); 2143 2143 #endif … … 2148 2148 psp[i].hInstance=hResInst; 2149 2149 psp[i].pszTemplate=MAKEINTRESOURCE(IDD_OPTION_WEB); 2150 psp[i].pfnDlgProc= Dlg_Option_Web;2150 psp[i].pfnDlgProc=(DLGPROC)Dlg_Option_Web; 2151 2151 hpsp[i]=CreatePropertySheetPage(&psp[i]); 2152 2152
Note:
See TracChangeset
for help on using the changeset viewer.