Changeset 119 in dev for ProjectEditor
- Timestamp:
- May 12, 2007, 6:38:50 PM (18 years ago)
- Location:
- ProjectEditor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/Common.h
r118 r119 605 605 #define PJ_OP_RICHEDIT 0x00000004 606 606 #define PJ_OP_WINSOCK 0x00000008 607 #define PJ_OP_STRICT 0x00010000 607 #define PJ_OP_STRICT 0x00010000 // #strictディレクティブは今は使われていない 608 608 #define PJ_OP_RC_MANIFEST 0x00020000 609 609 #define PJ_OP_UNICODE 0x00040000 -
ProjectEditor/DialogBoxes.cpp
r55 r119 305 305 case WM_INITDIALOG: 306 306 307 //#strict指定308 SendDlgItemMessage(hwnd,IDC_STRICT,BM_SETCHECK,BST_CHECKED,0);309 310 307 break; 311 308 case WM_NOTIFY: … … 326 323 case PSN_WIZNEXT: 327 324 NewProjectInfo.dwOption=PJ_OP_RC_MANIFEST; 328 if(SendDlgItemMessage(hwnd,IDC_STRICT,BM_GETCHECK,0,0))329 NewProjectInfo.dwOption|=PJ_OP_STRICT;330 325 if(SendDlgItemMessage(hwnd,IDC_UNICODE,BM_GETCHECK,0,0)) 331 326 NewProjectInfo.dwOption|=PJ_OP_UNICODE; … … 795 790 SetDlgItemText(hwnd,IDC_EDIT_DEBUG,ProjectInfo.lpszOutput_Debug); 796 791 797 //厳密な型チェック798 if(temp_dwPjOption&PJ_OP_STRICT)799 SendDlgItemMessage(hwnd,IDC_STRICT,BM_SETCHECK,BST_CHECKED,0);800 801 792 //Unicode 802 793 if(temp_dwPjOption&PJ_OP_UNICODE) … … 809 800 GetDlgItemText(hwnd,IDC_EDIT_RELEASE,temp_lpszOutputRelease,MAX_PATH); 810 801 GetDlgItemText(hwnd,IDC_EDIT_DEBUG,temp_lpszOutputDebug,MAX_PATH); 811 812 //厳密な型チェック813 if(SendDlgItemMessage(hwnd,IDC_STRICT,BM_GETCHECK,0,0))814 temp_dwPjOption|=PJ_OP_STRICT;815 else temp_dwPjOption&=~PJ_OP_STRICT;816 802 817 803 //Unicode -
ProjectEditor/ProjectControl.cpp
r107 r119 2273 2273 if(ProjectInfo.dwOption&PJ_OP_SOURCE_MASK){ 2274 2274 if(ProjectInfo.dwOption&PJ_OP_STRICT){ 2275 lstrcpy(buffer+i2,"\r\n"); 2276 i2+=lstrlen(buffer+i2); 2277 lstrcpy(buffer+i2,"#strict"); 2278 i2+=lstrlen(buffer+i2); 2279 lstrcpy(buffer+i2,"\r\n"); 2280 i2+=lstrlen(buffer+i2); 2275 /* #strictディレクティブは今は使われていない 2276 lstrcpy(buffer+i2,"\r\n"); 2277 i2+=lstrlen(buffer+i2); 2278 lstrcpy(buffer+i2,"#strict"); 2279 i2+=lstrlen(buffer+i2); 2280 lstrcpy(buffer+i2,"\r\n"); 2281 i2+=lstrlen(buffer+i2); 2282 */ 2281 2283 } 2282 2284 lstrcpy(buffer+i2,"\r\n");
Note:
See TracChangeset
for help on using the changeset viewer.