Changeset 869 for branches/ticket_150/dll/dircnrs.c
- Timestamp:
- Nov 13, 2007, 12:25:28 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ticket_150/dll/dircnrs.c
r847 r869 1419 1419 1420 1420 CNRINFO cnri; 1421 // static int i = 0; 1422 // FILE * f = fopen("e:\\dev\\netlabs\\fm2\\trunk\\jbsdebug.log", "a"); 1423 // fprintf(f, "UM_SETUP Dir: %s; Count: %d Details: %d %d %d %d\n", dcd->directory, ++i, (int)dcd->detailscrdate, (int)dcd->detailscrtime, (int)dcd->detailsladate, (int)dcd->detailsladate); 1424 // fclose(f); 1421 1425 1422 1426 RestorePresParams(hwnd, "DirCnr"); 1423 LoadDetailsSwitches("DirCnr", dcd);1427 // LoadDetailsSwitches("DirCnr", dcd); 1424 1428 memset(&cnri, 0, sizeof(CNRINFO)); 1425 1429 cnri.cb = sizeof(CNRINFO); … … 1478 1482 CMA_CXTREEINDENT | CMA_PSORTRECORD)); 1479 1483 SetCnrCols(hwnd, FALSE); 1480 AdjustCnrColsForPref(hwnd, NULL, dcd, FALSE);1484 // AdjustCnrColsForPref(hwnd, NULL, dcd, FALSE); 1481 1485 if (_beginthread(MakeObjWin, NULL, 245760, (PVOID) dcd) == -1) { 1482 1486 Runtime_Error(pszSrcFile, __LINE__, … … 1495 1499 SayView(WinWindowFromID(WinQueryWindow(hwnd, QW_PARENT), 1496 1500 DIR_VIEW), dcd->flWindowAttr); 1501 } 1502 else { 1503 PostMsg(hwnd, WM_CLOSE, MPVOID, MPVOID); 1504 return 0; 1505 } 1506 return 0; 1507 1508 case UM_SETUP2: 1509 if (dcd) 1510 { 1511 AdjustCnrColsForPref(hwnd, NULL, dcd, FALSE); 1497 1512 } 1498 1513 else { … … 2135 2150 dcd->hwndLastMenu, 2136 2151 SHORT1FROMMP(mp1), 2137 dcd->directory, "DirCnr", dcd, FALSE); 2152 // dcd->directory, "DirCnr", dcd, FALSE); 2153 dcd->directory, NULL, dcd, FALSE); 2138 2154 break; 2139 2155 … … 3394 3410 dcd->hwndRestore = hwndRestore; 3395 3411 dcd->dontclose = ((flags & 1) != 0); 3412 dcd->detailslongname = detailslongname; 3413 dcd->detailssubject = detailssubject; 3414 dcd->detailsea = detailsea; 3415 dcd->detailssize = detailssize; 3416 dcd->detailsicon = detailsicon; 3417 dcd->detailsattr = detailsattr; 3418 dcd->detailscrdate = detailscrdate; 3419 dcd->detailscrtime = detailscrtime; 3420 dcd->detailslwdate = detailslwdate; 3421 dcd->detailslwtime = detailslwtime; 3422 dcd->detailsladate = detailsladate; 3423 dcd->detailslatime = detailslatime; 3396 3424 strcpy(dcd->directory, directory); 3397 3425 add_udir(FALSE, directory);
Note:
See TracChangeset
for help on using the changeset viewer.