Changeset 930 for trunk/dll/dircnrs.c
- Timestamp:
- Jan 19, 2008, 2:54:06 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/dll/dircnrs.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dircnrs.c
r923 r930 33 33 22 Nov 07 GKY Use CopyPresParams to fix presparam inconsistencies in menus 34 34 10 Jan 08 SHL Sync with CfgDlgProc mods 35 xx Jan 08 JBS Ticket 150: fix/improve save and restore of dir cnr state at FM/2 close/reopen 35 36 36 37 ***********************************************************************/ … … 1423 1424 1424 1425 CNRINFO cnri; 1425 // JBS static int i = 0;1426 // FILE * f = fopen("e:\\dev\\netlabs\\fm2\\trunk\\jbsdebug.log", "a");1427 // 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);1428 // fclose(f);1429 1426 1430 1427 RestorePresParams(hwnd, "DirCnr"); 1431 // JBS LoadDetailsSwitches("DirCnr", dcd);1432 1428 memset(&cnri, 0, sizeof(CNRINFO)); 1433 1429 cnri.cb = sizeof(CNRINFO); … … 1486 1482 CMA_CXTREEINDENT | CMA_PSORTRECORD)); 1487 1483 SetCnrCols(hwnd, FALSE); 1488 // JBS AdjustCnrColsForPref(hwnd, NULL, dcd, FALSE);1489 1484 if (_beginthread(MakeObjWin, NULL, 245760, (PVOID) dcd) == -1) { 1490 1485 Runtime_Error(pszSrcFile, __LINE__, … … 2040 2035 2041 2036 case IDM_RESORT: 2042 // WinSendMsg(hwnd,2043 // CM_SORTRECORD,2044 // MPFROMP(SortDirCnr),2045 // MPFROMLONG((fSyncUpdates) ? sortFlags : dcd->sortFlags));2037 // WinSendMsg(hwnd, 2038 // CM_SORTRECORD, 2039 // MPFROMP(SortDirCnr), 2040 // MPFROMLONG((fSyncUpdates) ? sortFlags : dcd->sortFlags)); 2046 2041 WinSendMsg(hwnd, 2047 2042 CM_SORTRECORD, … … 2162 2157 dcd->hwndLastMenu, 2163 2158 SHORT1FROMMP(mp1), 2164 // JBS dcd->directory, "DirCnr", dcd, FALSE);2165 2159 dcd->directory, NULL, dcd, FALSE); 2166 2160 break; … … 2594 2588 if (pci->attrFile & FILE_DIRECTORY) { 2595 2589 menuHwnd = CheckMenu(hwndMainMenu, &DirMenu, DIR_POPUP); 2596 // WinEnableMenuItem(DirMenu,IDM_TREE,TRUE);2590 // WinEnableMenuItem(DirMenu,IDM_TREE,TRUE); 2597 2591 } 2598 2592 else … … 3429 3423 dcd->hwndRestore = hwndRestore; 3430 3424 dcd->dontclose = ((flags & 1) != 0); 3431 dcd->detailslongname = detailslongname;3432 dcd->detailssubject = detailssubject;3433 dcd->detailsea = detailsea;3434 dcd->detailssize = detailssize;3435 dcd->detailsicon = detailsicon;3436 dcd->detailsattr = detailsattr;3437 dcd->detailscrdate = detailscrdate;3438 dcd->detailscrtime = detailscrtime;3439 dcd->detailslwdate = detailslwdate;3440 dcd->detailslwtime = detailslwtime;3441 dcd->detailsladate = detailsladate;3442 dcd->detailslatime = detailslatime;3425 dcd->detailslongname = detailslongname; 3426 dcd->detailssubject = detailssubject; 3427 dcd->detailsea = detailsea; 3428 dcd->detailssize = detailssize; 3429 dcd->detailsicon = detailsicon; 3430 dcd->detailsattr = detailsattr; 3431 dcd->detailscrdate = detailscrdate; 3432 dcd->detailscrtime = detailscrtime; 3433 dcd->detailslwdate = detailslwdate; 3434 dcd->detailslwtime = detailslwtime; 3435 dcd->detailsladate = detailsladate; 3436 dcd->detailslatime = detailslatime; 3443 3437 strcpy(dcd->directory, directory); 3444 3438 add_udir(FALSE, directory);
Note:
See TracChangeset
for help on using the changeset viewer.
