Changeset 1439 for trunk/dll/dircnrs.c
- Timestamp:
- Jul 12, 2009, 11:57:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dircnrs.c
r1438 r1439 804 804 MPFROMP(pci), 805 805 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 } 808 814 } 809 815 } … … 1611 1617 DIR_SORT), dcd->sortFlags, FALSE); 1612 1618 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); 1614 1621 } else 1615 1622 PostMsg(hwnd, WM_CLOSE, MPVOID, MPVOID); … … 2797 2804 if (Flesh(hwnd, pci) && 2798 2805 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 } 2801 2810 } 2802 2811 driveserial[toupper(*pci->pszFileName) - 'A'] = volser.serial; … … 2804 2813 } 2805 2814 else if (SHORT2FROMMP(mp1) == CN_EXPANDTREE) { 2806 if (Flesh(hwnd, pci) && !dcd->suspendview && fTopDir) 2815 if (Flesh(hwnd, pci) && !dcd->suspendview && fTopDir) { 2807 2816 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) { 2810 2821 WinSendMsg(hwnd, UM_FILTER, MPVOID, MPVOID); 2822 //DbgMsg(pszSrcFile, __LINE__, "UM_TOPDIR %p pci %p", hwnd, pci); 2823 } 2811 2824 } 2812 2825 }
Note:
See TracChangeset
for help on using the changeset viewer.