Changeset 1065 for trunk/dll/misc.c
- Timestamp:
- Jul 11, 2008, 6:50:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r1039 r1065 45 45 19 Jun 08 JBS Ticket 239: Fix LoadDetailsSwitches so INI file is read correctly and details 46 46 switches are set correctly. 47 21 Jun 08 GKY Fix LoadDetailsSwitches to actually use the keyroot value passed (change strcpy to strcat) 47 11 Jul 08 JBS Ticket 230: Simplified code and eliminated some local variables by incorporating 48 all the details view settings (both the global variables and those in the 49 DIRCNRDATA struct) into a new struct: DETAILS_SETTINGS. 48 50 49 51 ***********************************************************************/ … … 368 370 } 369 371 370 VOID AdjustCnrColsForFSType(HWND hwndCnr, CHAR * directory, D IRCNRDATA * dcd)372 VOID AdjustCnrColsForFSType(HWND hwndCnr, CHAR * directory, DETAILS_SETTINGS * pds) 371 373 { 372 374 CHAR FileSystem[CCHMAXPATH]; … … 375 377 BOOL hasAccessDT; 376 378 BOOL hasLongNames; 377 BOOL *pBool;378 379 379 380 if (!directory || !*directory) … … 410 411 hasLongNames = FALSE; 411 412 } 412 pBool = dcd ? &dcd->detailsladate : &detailsladate;413 413 AdjustCnrColVis(hwndCnr, 414 414 GetPString(IDS_LADATE), 415 *pBool? hasAccessDT : FALSE,415 pds->detailsladate ? hasAccessDT : FALSE, 416 416 FALSE); 417 pBool = dcd ? &dcd->detailslatime : &detailslatime;418 417 AdjustCnrColVis(hwndCnr, 419 418 GetPString(IDS_LATIME), 420 *pBool? hasAccessDT : FALSE,419 pds->detailslatime ? hasAccessDT : FALSE, 421 420 FALSE); 422 pBool = dcd ? &dcd->detailscrdate : &detailscrdate;423 421 AdjustCnrColVis(hwndCnr, 424 422 GetPString(IDS_CRDATE), 425 *pBool? hasCreateDT : FALSE,423 pds->detailscrdate ? hasCreateDT : FALSE, 426 424 FALSE); 427 pBool = dcd ? &dcd->detailscrtime : &detailscrtime;428 425 AdjustCnrColVis(hwndCnr, 429 426 GetPString(IDS_CRTIME), 430 *pBool? hasCreateDT : FALSE,427 pds->detailscrtime ? hasCreateDT : FALSE, 431 428 FALSE); 432 pBool = dcd ? &dcd->detailslongname : &detailslongname;433 429 AdjustCnrColVis(hwndCnr, 434 430 GetPString(IDS_LNAME), 435 *pBool? hasLongNames : FALSE,431 pds->detailslongname ? hasLongNames : FALSE, 436 432 FALSE); 437 433 WinSendMsg(hwndCnr, CM_INVALIDATEDETAILFIELDINFO, MPVOID, MPVOID); 438 434 } 439 435 440 VOID AdjustCnrColsForPref(HWND hwndCnr, CHAR * directory, D IRCNRDATA * dcd,436 VOID AdjustCnrColsForPref(HWND hwndCnr, CHAR * directory, DETAILS_SETTINGS * pds, 441 437 BOOL compare) 442 438 { 443 BOOL *bool; 444 445 bool = dcd ? &dcd->detailssubject : &detailssubject; 439 446 440 AdjustCnrColVis(hwndCnr, 447 441 compare ? GetPString(IDS_STATUS) : GetPString(IDS_SUBJ), 448 *bool,442 pds->detailssubject, 449 443 FALSE); 450 444 451 bool = dcd ? &dcd->detailsattr : &detailsattr; 452 AdjustCnrColVis(hwndCnr, GetPString(IDS_ATTR), *bool, FALSE); 453 bool = dcd ? &dcd->detailsicon : &detailsicon; 454 AdjustCnrColVis(hwndCnr, GetPString(IDS_ICON), *bool, FALSE); 455 bool = dcd ? &dcd->detailslwdate : &detailslwdate; 456 AdjustCnrColVis(hwndCnr, GetPString(IDS_LWDATE), *bool, FALSE); 457 bool = dcd ? &dcd->detailslwtime : &detailslwtime; 458 AdjustCnrColVis(hwndCnr, GetPString(IDS_LWTIME), *bool, FALSE); 459 bool = dcd ? &dcd->detailsea : &detailsea; 460 AdjustCnrColVis(hwndCnr, GetPString(IDS_EA), *bool, FALSE); 461 bool = dcd ? &dcd->detailssize : &detailssize; 462 AdjustCnrColVis(hwndCnr, GetPString(IDS_SIZE), *bool, FALSE); 445 AdjustCnrColVis(hwndCnr, GetPString(IDS_ATTR), pds->detailsattr, FALSE); 446 AdjustCnrColVis(hwndCnr, GetPString(IDS_ICON), pds->detailsicon, FALSE); 447 AdjustCnrColVis(hwndCnr, GetPString(IDS_LWDATE), pds->detailslwdate, FALSE); 448 AdjustCnrColVis(hwndCnr, GetPString(IDS_LWTIME), pds->detailslwtime, FALSE); 449 AdjustCnrColVis(hwndCnr, GetPString(IDS_EA), pds->detailsea, FALSE); 450 AdjustCnrColVis(hwndCnr, GetPString(IDS_SIZE), pds->detailssize, FALSE); 463 451 464 452 if (!directory) { 465 bool = dcd ? &dcd->detailsladate : &detailsladate; 466 AdjustCnrColVis(hwndCnr, GetPString(IDS_LADATE), *bool, FALSE); 467 bool = dcd ? &dcd->detailslatime : &detailslatime; 468 AdjustCnrColVis(hwndCnr, GetPString(IDS_LATIME), *bool, FALSE); 469 bool = dcd ? &dcd->detailscrdate : &detailscrdate; 470 AdjustCnrColVis(hwndCnr, GetPString(IDS_CRDATE), *bool, FALSE); 471 bool = dcd ? &dcd->detailscrtime : &detailscrtime; 472 AdjustCnrColVis(hwndCnr, GetPString(IDS_CRTIME), *bool, FALSE); 473 bool = dcd ? &dcd->detailslongname : &detailslongname; 474 AdjustCnrColVis(hwndCnr, GetPString(IDS_LNAME), *bool, FALSE); 453 AdjustCnrColVis(hwndCnr, GetPString(IDS_LADATE), pds->detailsladate, FALSE); 454 AdjustCnrColVis(hwndCnr, GetPString(IDS_LATIME), pds->detailslatime, FALSE); 455 AdjustCnrColVis(hwndCnr, GetPString(IDS_CRDATE), pds->detailscrdate, FALSE); 456 AdjustCnrColVis(hwndCnr, GetPString(IDS_CRTIME), pds->detailscrtime, FALSE); 457 AdjustCnrColVis(hwndCnr, GetPString(IDS_LNAME), pds->detailslongname, FALSE); 475 458 WinSendMsg(hwndCnr, CM_INVALIDATEDETAILFIELDINFO, MPVOID, MPVOID); 476 459 } 477 460 else 478 AdjustCnrColsForFSType(hwndCnr, directory, dcd);461 AdjustCnrColsForFSType(hwndCnr, directory, pds); 479 462 } 480 463 … … 533 516 // Fill in column info for subjects 534 517 535 if ( fSubjectInLeftPane) {518 if (dsDirCnrDefault.fSubjectInLeftPane) { 536 519 pfi = pfi->pNextFieldInfo; 537 520 pfi->flData = CFA_STRING | CFA_LEFT | CFA_SEPARATOR; … … 542 525 GetPString(IDS_SUBJ); 543 526 pfi->offStruct = FIELDOFFSET(CNRITEM, pszSubject); 544 pfi->cxWidth = SubjectDisplayWidth;527 pfi->cxWidth = dsDirCnrDefault.SubjectDisplayWidth; 545 528 546 529 // Store the current pfi value as that will be used to indicate the … … 562 545 GetPString(IDS_SUBJ); 563 546 pfi->offStruct = FIELDOFFSET(CNRITEM, pszSubject); 564 pfi->cxWidth = SubjectDisplayWidth;547 pfi->cxWidth = dsDirCnrDefault.SubjectDisplayWidth; 565 548 } 566 549 … … 1011 994 } 1012 995 1013 VOID SetDetailsSwitches(HWND hwnd, DIRCNRDATA * dcd) 1014 { 1015 WinCheckMenuItem(hwnd, IDM_SHOWLNAMES, 1016 dcd ? dcd->detailslongname : detailslongname); 1017 WinCheckMenuItem(hwnd, IDM_SHOWSUBJECT, 1018 dcd ? dcd->detailssubject : detailssubject); 1019 WinCheckMenuItem(hwnd, IDM_SHOWEAS, dcd ? dcd->detailsea : detailsea); 1020 WinCheckMenuItem(hwnd, IDM_SHOWSIZE, 1021 dcd ? dcd->detailssize : detailssize); 1022 WinCheckMenuItem(hwnd, IDM_SHOWICON, 1023 dcd ? dcd->detailsicon : detailsicon); 1024 WinCheckMenuItem(hwnd, IDM_SHOWLWDATE, 1025 dcd ? dcd->detailslwdate : detailslwdate); 1026 WinCheckMenuItem(hwnd, IDM_SHOWLWTIME, 1027 dcd ? dcd->detailslwtime : detailslwtime); 1028 WinCheckMenuItem(hwnd, IDM_SHOWLADATE, 1029 dcd ? dcd->detailsladate : detailsladate); 1030 WinCheckMenuItem(hwnd, IDM_SHOWLATIME, 1031 dcd ? dcd->detailslatime : detailslatime); 1032 WinCheckMenuItem(hwnd, IDM_SHOWCRDATE, 1033 dcd ? dcd->detailscrdate : detailscrdate); 1034 WinCheckMenuItem(hwnd, IDM_SHOWCRTIME, 1035 dcd ? dcd->detailscrtime : detailscrtime); 1036 WinCheckMenuItem(hwnd, IDM_SHOWATTR, 1037 dcd ? dcd->detailsattr : detailsattr); 996 VOID SetDetailsSwitches(HWND hwnd, DETAILS_SETTINGS * pds) 997 { 998 WinCheckMenuItem(hwnd, IDM_SHOWLNAMES, pds->detailslongname); 999 WinCheckMenuItem(hwnd, IDM_SHOWSUBJECT, pds->detailssubject); 1000 WinCheckMenuItem(hwnd, IDM_SHOWEAS, pds->detailsea); 1001 WinCheckMenuItem(hwnd, IDM_SHOWSIZE, pds->detailssize); 1002 WinCheckMenuItem(hwnd, IDM_SHOWICON, pds->detailsicon); 1003 WinCheckMenuItem(hwnd, IDM_SHOWLWDATE, pds->detailslwdate); 1004 WinCheckMenuItem(hwnd, IDM_SHOWLWTIME, pds->detailslwtime); 1005 WinCheckMenuItem(hwnd, IDM_SHOWLADATE, pds->detailsladate); 1006 WinCheckMenuItem(hwnd, IDM_SHOWLATIME, pds->detailslatime); 1007 WinCheckMenuItem(hwnd, IDM_SHOWCRDATE, pds->detailscrdate); 1008 WinCheckMenuItem(hwnd, IDM_SHOWCRTIME, pds->detailscrtime); 1009 WinCheckMenuItem(hwnd, IDM_SHOWATTR, pds->detailsattr); 1038 1010 } 1039 1011 1040 1012 VOID AdjustDetailsSwitches(HWND hwnd, HWND hwndMenu, USHORT cmd, 1041 1013 CHAR * directory, CHAR * keyroot, 1042 D IRCNRDATA * dcd, BOOL compare)1014 DETAILS_SETTINGS * pds, BOOL compare) 1043 1015 { 1044 1016 BOOL *bool = NULL; … … 1046 1018 switch (cmd) { 1047 1019 case IDM_SHOWLNAMES: 1048 bool = dcd ? &dcd->detailslongname : &detailslongname;1020 bool = &pds->detailslongname; 1049 1021 break; 1050 1022 case IDM_SHOWSUBJECT: 1051 bool = dcd ? &dcd->detailssubject : &detailssubject;1023 bool = &pds->detailssubject; 1052 1024 break; 1053 1025 case IDM_SHOWEAS: 1054 bool = dcd ? &dcd->detailsea : &detailsea;1026 bool = &pds->detailsea; 1055 1027 break; 1056 1028 case IDM_SHOWSIZE: 1057 bool = dcd ? &dcd->detailssize : &detailssize;1029 bool = &pds->detailssize; 1058 1030 break; 1059 1031 case IDM_SHOWICON: 1060 bool = dcd ? &dcd->detailsicon : &detailsicon;1032 bool = &pds->detailsicon; 1061 1033 break; 1062 1034 case IDM_SHOWLWDATE: 1063 bool = dcd ? &dcd->detailslwdate : &detailslwdate;1035 bool = &pds->detailslwdate; 1064 1036 break; 1065 1037 case IDM_SHOWLWTIME: 1066 bool = dcd ? &dcd->detailslwtime : &detailslwtime;1038 bool = &pds->detailslwtime; 1067 1039 break; 1068 1040 case IDM_SHOWLADATE: 1069 bool = dcd ? &dcd->detailsladate : &detailsladate;1041 bool = &pds->detailsladate; 1070 1042 break; 1071 1043 case IDM_SHOWLATIME: 1072 bool = dcd ? &dcd->detailslatime : &detailslatime;1044 bool = &pds->detailslatime; 1073 1045 break; 1074 1046 case IDM_SHOWCRDATE: 1075 bool = dcd ? &dcd->detailscrdate : &detailscrdate;1047 bool = &pds->detailscrdate; 1076 1048 break; 1077 1049 case IDM_SHOWCRTIME: 1078 bool = dcd ? &dcd->detailscrtime : &detailscrtime;1050 bool = &pds->detailscrtime; 1079 1051 break; 1080 1052 case IDM_SHOWATTR: 1081 bool = dcd ? &dcd->detailsattr : &detailsattr;1053 bool = &pds->detailsattr; 1082 1054 break; 1083 1055 default: 1084 1056 if (hwndMenu) 1085 SetDetailsSwitches(hwndMenu, dcd);1057 SetDetailsSwitches(hwndMenu, pds); 1086 1058 return; 1087 1059 } … … 1089 1061 *bool = *bool ? FALSE : TRUE; 1090 1062 if (hwnd) 1091 AdjustCnrColsForPref(hwnd, directory, dcd, compare);1063 AdjustCnrColsForPref(hwnd, directory, pds, compare); 1092 1064 if (hwndMenu) 1093 SetDetailsSwitches(hwndMenu, dcd);1065 SetDetailsSwitches(hwndMenu, pds); 1094 1066 } 1095 1067 … … 1228 1200 } 1229 1201 1230 VOID LoadDetailsSwitches(CHAR * keyroot, D IRCNRDATA * dcd)1202 VOID LoadDetailsSwitches(CHAR * keyroot, DETAILS_SETTINGS * pds) 1231 1203 { 1232 1204 ULONG size; 1233 1205 CHAR s[CCHMAXPATH], *eos = s; 1234 BOOL *bool;1235 1206 1236 1207 strcpy(s, keyroot); 1237 1208 strcat(s, "."); 1238 1209 eos = &s[strlen(s)]; 1239 strcat(s, "DetailsLongname"); 1240 if (dcd) 1241 bool = &dcd->detailslongname; 1242 else 1243 bool = &detailslongname; 1244 *bool = detailslongname; 1210 strcpy(eos, "DetailsLongname"); 1211 pds->detailslongname = dsDirCnrDefault.detailslongname; 1245 1212 size = sizeof(BOOL); 1246 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1213 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailslongname, &size); 1247 1214 strcpy(eos, "DetailsSubject"); 1248 if (dcd) 1249 bool = &dcd->detailssubject; 1250 else 1251 bool = &detailssubject; 1252 *bool = detailssubject; 1215 pds->detailssubject = dsDirCnrDefault.detailssubject; 1253 1216 size = sizeof(BOOL); 1254 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1217 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailssubject, &size); 1255 1218 strcpy(eos, "DetailsEA"); 1256 if (dcd) 1257 bool = &dcd->detailsea; 1258 else 1259 bool = &detailsea; 1260 *bool = detailsea; 1219 pds->detailsea = dsDirCnrDefault.detailsea; 1261 1220 size = sizeof(BOOL); 1262 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1221 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailsea, &size); 1263 1222 strcpy(eos, "DetailsSize"); 1264 if (dcd) 1265 bool = &dcd->detailssize; 1266 else 1267 bool = &detailssize; 1268 *bool = detailssize; 1223 pds->detailssize = dsDirCnrDefault.detailssize; 1269 1224 size = sizeof(BOOL); 1270 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1225 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailssize, &size); 1271 1226 strcpy(eos, "DetailsIcon"); 1272 if (dcd) 1273 bool = &dcd->detailsicon; 1274 else 1275 bool = &detailsicon; 1276 *bool = detailsicon; 1227 pds->detailsicon = dsDirCnrDefault.detailsicon; 1277 1228 size = sizeof(BOOL); 1278 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1229 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailsicon, &size); 1279 1230 strcpy(eos, "DetailsAttr"); 1280 if (dcd) 1281 bool = &dcd->detailsattr; 1282 else 1283 bool = &detailsattr; 1284 *bool = detailsattr; 1231 pds->detailsattr = dsDirCnrDefault.detailsattr; 1285 1232 size = sizeof(BOOL); 1286 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1233 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailsattr, &size); 1287 1234 strcpy(eos, "DetailsCRDate"); 1288 if (dcd) 1289 bool = &dcd->detailscrdate; 1290 else 1291 bool = &detailscrdate; 1292 *bool = detailscrdate; 1235 pds->detailscrdate = dsDirCnrDefault.detailscrdate; 1293 1236 size = sizeof(BOOL); 1294 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1237 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailscrdate, &size); 1295 1238 strcpy(eos, "DetailsCRTime"); 1296 if (dcd) 1297 bool = &dcd->detailscrtime; 1298 else 1299 bool = &detailscrtime; 1300 *bool = detailscrtime; 1239 pds->detailscrtime = dsDirCnrDefault.detailscrtime; 1301 1240 size = sizeof(BOOL); 1302 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1241 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailscrtime, &size); 1303 1242 strcpy(eos, "DetailsLWDate"); 1304 if (dcd) 1305 bool = &dcd->detailslwdate; 1306 else 1307 bool = &detailslwdate; 1308 *bool = detailslwdate; 1243 pds->detailslwdate = dsDirCnrDefault.detailslwdate; 1309 1244 size = sizeof(BOOL); 1310 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1245 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailslwdate, &size); 1311 1246 strcpy(eos, "DetailsLWTime"); 1312 if (dcd) 1313 bool = &dcd->detailslwtime; 1314 else 1315 bool = &detailslwtime; 1316 *bool = detailslwtime; 1247 pds->detailslwtime = dsDirCnrDefault.detailslwtime; 1317 1248 size = sizeof(BOOL); 1318 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1249 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailslwtime, &size); 1319 1250 strcpy(eos, "DetailsLADate"); 1320 if (dcd) 1321 bool = &dcd->detailsladate; 1322 else 1323 bool = &detailsladate; 1324 *bool = detailsladate; 1251 pds->detailsladate = dsDirCnrDefault.detailsladate; 1325 1252 size = sizeof(BOOL); 1326 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1253 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailsladate, &size); 1327 1254 strcpy(eos, "DetailsLATime"); 1328 if (dcd) 1329 bool = &dcd->detailslatime; 1330 else 1331 bool = &detailslatime; 1332 *bool = detailslatime; 1255 pds->detailslatime = dsDirCnrDefault.detailslatime; 1333 1256 size = sizeof(BOOL); 1334 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1257 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->detailslatime, &size); 1335 1258 strcpy(eos, "SubjectInLeftPane"); 1336 if (dcd) 1337 bool = &dcd->fSubjectInLeftPane; 1338 else 1339 bool = &fSubjectInLeftPane; 1340 *bool = fSubjectInLeftPane; 1259 pds->fSubjectInLeftPane = dsDirCnrDefault.fSubjectInLeftPane; 1341 1260 size = sizeof(BOOL); 1342 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size);1261 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->fSubjectInLeftPane, &size); 1343 1262 strcpy(eos, "SubjectLengthMax"); 1344 if (dcd) 1345 bool = &dcd->fSubjectLengthMax; 1346 else 1347 bool = &fSubjectLengthMax; 1348 *bool = fSubjectLengthMax; 1263 pds->fSubjectLengthMax = dsDirCnrDefault.fSubjectLengthMax; 1349 1264 size = sizeof(BOOL); 1350 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1351 if (dcd) { 1352 if (dcd->fSubjectLengthMax) 1353 dcd->SubjectDisplayWidth = 0; 1354 else { 1355 strcpy(eos, "SubjectDisplayWidth"); 1356 bool = &dcd->SubjectDisplayWidth; 1357 *bool = SubjectDisplayWidth; 1358 size = sizeof(ULONG); 1359 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1360 if (dcd->SubjectDisplayWidth < 50) 1361 dcd->SubjectDisplayWidth = 0; 1362 else if (dcd->SubjectDisplayWidth > 1000) 1363 dcd->SubjectDisplayWidth = 1000; 1364 } 1365 } 1265 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->fSubjectLengthMax, &size); 1266 if (pds->fSubjectLengthMax) 1267 pds->SubjectDisplayWidth = 0; 1366 1268 else { 1367 if (fSubjectLengthMax) 1368 SubjectDisplayWidth = 0; 1369 else { 1370 strcpy(eos, "SubjectDisplayWidth"); 1371 bool = &SubjectDisplayWidth; 1372 *bool = SubjectDisplayWidth; 1373 size = sizeof(ULONG); 1374 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1375 if (SubjectDisplayWidth < 50) 1376 SubjectDisplayWidth = 0; 1377 else if (SubjectDisplayWidth > 1000) 1378 SubjectDisplayWidth = 1000; 1379 } 1269 strcpy(eos, "SubjectDisplayWidth"); 1270 pds->SubjectDisplayWidth = dsDirCnrDefault.SubjectDisplayWidth; 1271 size = sizeof(ULONG); 1272 PrfQueryProfileData(fmprof, appname, s, (PVOID) &pds->SubjectDisplayWidth, &size); 1273 if (pds->SubjectDisplayWidth < 50) 1274 pds->SubjectDisplayWidth = 0; 1275 else if (pds->SubjectDisplayWidth > 1000) 1276 pds->SubjectDisplayWidth = 1000; 1380 1277 } 1381 1278 }
Note:
See TracChangeset
for help on using the changeset viewer.