Changeset 302 in dev for trunk/abdev/ProjectEditor/RadToolsAndPropertyProc.cpp
- Timestamp:
- Aug 24, 2007, 2:13:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/ProjectEditor/RadToolsAndPropertyProc.cpp
r83 r302 693 693 switch(LOWORD(wParam)){ 694 694 case IDC_RENAMEWINDOW: 695 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_WINDOW_RENAME),hwnd, DlgRadProperty_Window_Rename)) return 1;695 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_WINDOW_RENAME),hwnd,(DLGPROC)DlgRadProperty_Window_Rename)) return 1; 696 696 i=GetWndNum(GetParent(GetParent(hwnd))); 697 697 i2=GetWndInfoNum(MdiInfo[i].path); … … 700 700 return 1; 701 701 case IDC_RENAMECAPTION: 702 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_RENAMECAPTION),hwnd, DlgRadProperty_Item_RenameCaption)) return 1;702 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_RENAMECAPTION),hwnd,(DLGPROC)DlgRadProperty_Item_RenameCaption)) return 1; 703 703 i=GetWndNum(GetParent(GetParent(hwnd))); 704 704 i2=GetWndInfoNum(MdiInfo[i].path); … … 1066 1066 1067 1067 case IDC_EXSTYLE: 1068 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_WINDOW_EXSTYLE),hwnd, DlgRadProperty_Window_ExStyle)) return 1;1068 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_WINDOW_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Window_ExStyle)) return 1; 1069 1069 i=GetWndNum(GetParent(GetParent(hwnd))); 1070 1070 i2=GetWndInfoNum(MdiInfo[i].path); … … 1286 1286 switch(LOWORD(wParam)){ 1287 1287 case IDC_RENAMEID: 1288 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_RENAMEID),hwnd, DlgRadProperty_Item_RenameID)) return 1;1288 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_RENAMEID),hwnd,(DLGPROC)DlgRadProperty_Item_RenameID)) return 1; 1289 1289 SetDlgItemText(hwnd,IDC_IDNAME,ProjectInfo.pWindowInfo[WndInfoNum].pChildInfo[MdiInfo[WndNum].MdiRadInfo->SelectingItem[0]].IdName); 1290 1290 return 1; 1291 1291 case IDC_RENAMECAPTION: 1292 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_RENAMECAPTION),hwnd, DlgRadProperty_Item_RenameCaption)) return 1;1292 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_RENAMECAPTION),hwnd,(DLGPROC)DlgRadProperty_Item_RenameCaption)) return 1; 1293 1293 SetDlgItemText(hwnd,IDC_CAPTION,ProjectInfo.pWindowInfo[WndInfoNum].pChildInfo[MdiInfo[WndNum].MdiRadInfo->SelectingItem[0]].caption); 1294 1294 return 1; … … 1611 1611 1612 1612 case IDC_EXSTYLE: 1613 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;1613 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 1614 1614 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 1615 1615 return 1; … … 1891 1891 1892 1892 case IDC_EXSTYLE: 1893 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;1893 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 1894 1894 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 1895 1895 return 1; … … 2137 2137 2138 2138 case IDC_EXSTYLE: 2139 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;2139 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 2140 2140 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 2141 2141 return 1; … … 2437 2437 2438 2438 case IDC_EXSTYLE: 2439 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;2439 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 2440 2440 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 2441 2441 return 1; … … 2570 2570 2571 2571 case IDC_EXSTYLE: 2572 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;2572 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 2573 2573 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 2574 2574 return 1; … … 2966 2966 2967 2967 case IDC_EXSTYLE: 2968 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;2968 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 2969 2969 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 2970 2970 return 1; … … 3237 3237 3238 3238 case IDC_EXSTYLE: 3239 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;3239 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 3240 3240 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 3241 3241 return 1; … … 3506 3506 3507 3507 case IDC_EXSTYLE: 3508 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;3508 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 3509 3509 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 3510 3510 return 1; … … 3588 3588 3589 3589 case IDC_EXSTYLE: 3590 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;3590 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 3591 3591 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 3592 3592 return 1; … … 3818 3818 3819 3819 case IDC_EXSTYLE: 3820 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;3820 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 3821 3821 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 3822 3822 return 1; … … 3900 3900 3901 3901 case IDC_EXSTYLE: 3902 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;3902 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 3903 3903 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 3904 3904 return 1; … … 4029 4029 4030 4030 case IDC_EXSTYLE: 4031 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;4031 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 4032 4032 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 4033 4033 return 1; … … 4179 4179 4180 4180 case IDC_EXSTYLE: 4181 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;4181 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 4182 4182 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 4183 4183 return 1; … … 4388 4388 4389 4389 case IDC_EXSTYLE: 4390 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;4390 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 4391 4391 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 4392 4392 return 1; … … 4561 4561 4562 4562 case IDC_EXSTYLE: 4563 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd, DlgRadProperty_Item_ExStyle)) return 1;4563 if(!DialogBox(hResInst,MAKEINTRESOURCE(IDD_RAD_PROP_ITEM_EXSTYLE),hwnd,(DLGPROC)DlgRadProperty_Item_ExStyle)) return 1; 4564 4564 DrawRadWindow(i,&ProjectInfo.pWindowInfo[i2]); 4565 4565 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.