Changeset 1439 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Jul 12, 2009, 11:57:04 PM (16 years ago)
Author:
Gregg Young
Message:

Changes to allow high mem loading of dll; Refactor .LONGNAME and .SUBJECT EA fetch to FetchCommonEAs. Add szFSType to FillInRecordFromFSA use to bypass EA scan and size formatting for tree container; Fix labels/FS type to work on scan on NOPRESCAN Drives; Fixed dbl directory names on restore of dir cnrs; (Tickets 47, 339, 363, 368, 369, 370)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r1438 r1439  
    804804                            MPFROMP(pci),
    805805                            MPFROM2SHORT(CMA_FIRSTCHILD, CMA_ITEMORDER));
    806           if (!pciC) {
    807             Stubby(dcd->hwndCnr, pci);
     806          if (!pciC) {
     807            if (fInitialDriveScan)
     808              Stubby(dcd->hwndCnr, pci);
     809            else {
     810              while (StubbyScanCount != 0)
     811                DosSleep(50);
     812              Stubby(dcd->hwndCnr, pci);
     813            }
    808814          }
    809815        }
     
    16111617              DIR_SORT), dcd->sortFlags, FALSE);
    16121618      SayView(WinWindowFromID(WinQueryWindow(hwnd, QW_PARENT),
    1613               DIR_VIEW), dcd->flWindowAttr);
     1619                              DIR_VIEW), dcd->flWindowAttr);
     1620      //DbgMsg(pszSrcFile, __LINE__, "UM_SETUP2 %p pci %p", hwnd, dcd);
    16141621    } else
    16151622      PostMsg(hwnd, WM_CLOSE, MPVOID, MPVOID);
     
    27972804                  if (Flesh(hwnd, pci) &&
    27982805                      SHORT2FROMMP(mp1) == CN_EXPANDTREE &&
    2799                       !dcd->suspendview && fTopDir)
    2800                     PostMsg(hwnd, UM_TOPDIR, MPFROMP(pci), MPVOID);
     2806                      !dcd->suspendview && fTopDir) {
     2807                    PostMsg(hwnd, UM_TOPDIR, MPFROMP(pci), MPVOID);
     2808                    //DbgMsg(pszSrcFile, __LINE__, "UM_TOPDIR %p pci %p", hwnd, pci);
     2809                  }
    28012810                }
    28022811                driveserial[toupper(*pci->pszFileName) - 'A'] = volser.serial;
     
    28042813            }
    28052814            else if (SHORT2FROMMP(mp1) == CN_EXPANDTREE) {
    2806               if (Flesh(hwnd, pci) && !dcd->suspendview && fTopDir)
     2815              if (Flesh(hwnd, pci) && !dcd->suspendview && fTopDir) {
    28072816                PostMsg(hwnd, UM_TOPDIR, MPFROMP(pci), MPVOID);
    2808             }
    2809             if (SHORT2FROMMP(mp1) == CN_EXPANDTREE && !dcd->suspendview)
     2817                //DbgMsg(pszSrcFile, __LINE__, "UM_TOPDIR %p pci %p", hwnd, pci);
     2818              }
     2819            }
     2820            if (SHORT2FROMMP(mp1) == CN_EXPANDTREE && !dcd->suspendview) {
    28102821              WinSendMsg(hwnd, UM_FILTER, MPVOID, MPVOID);
     2822              //DbgMsg(pszSrcFile, __LINE__, "UM_TOPDIR %p pci %p", hwnd, pci);
     2823            }
    28112824          }
    28122825        }
Note: See TracChangeset for help on using the changeset viewer.