Changeset 1318 for trunk/dll/mainwnd.c
- Timestamp:
- Dec 5, 2008, 2:57:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r1315 r1318 70 70 01 Sep 08 GKY Save toolbars immediately on change. Add bmps for default toolbars 71 71 29 Nov 08 GKY Remove or replace with a mutex semaphore DosEnterCriSec where appropriate. 72 0 3 Dec 08 GKY Use StubbyScanCountto prevent scan of "last" directory container prior to72 04 Dec 08 GKY Use event semaphore to prevent scan of "last" directory container prior to 73 73 tree scan completion; prevents duplicate directory names in tree. 74 74 … … 415 415 henum = WinBeginEnumWindows(hwndMain); 416 416 while ((hwndC = WinGetNextWindow(henum)) != NULLHANDLE) { 417 //saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Tree = %lu\rExclude = %lu\rFound = %lu",hwndTree,exclude,hwndC);417 //saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Tree = %lu\rExclude = %lu\rFound = %lu",hwndTree,exclude,hwndC); 418 418 if (hwndC != exclude && hwndC != hwndTree) { 419 419 id = WinQueryWindowUShort(hwndC, QWS_ID); … … 434 434 UM_CONTAINERDIR, MPFROMP(ret), MPVOID)) { 435 435 MakeValidDir(ret); 436 // 436 //saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Tree = %lu\rExclude = %lu\rFound = %lu\r\"%s\"",hwndTree,exclude,hwndC,ret); 437 437 WinEndEnumWindows(henum); 438 438 return hwndC; … … 3187 3187 PostMsg(hwndToolback, UM_SETUP2, MPVOID, MPVOID); 3188 3188 } 3189 DosWaitEventSem(DriveScanStart, 20000); 3189 3190 size = (ULONG)0; 3190 3191 sprintf(szKey, "%sTargetDir", szPrefix); … … 5931 5932 continue; 5932 5933 if (!IsFile(argv[x]) && !FindDirCnrByName(argv[x], FALSE)) { 5933 DosSleep(10); // Give time for StubbyScanThreads to start5934 while (StubbyScanCount !=0)5935 DosSleep(50);5936 5934 OpenDirCnr((HWND) 0, hwndMain, hwndTree, TRUE, argv[x]); 5937 5935 }
Note:
See TracChangeset
for help on using the changeset viewer.