Changeset 1868
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/filldir.c
r1865 r1868 119 119 22 Aug 15 GKY Minimize the occurence of an A:\ Drive not ready error by moving the cursor 120 120 to the default drive. 121 24 AUG 15 GKY Remove fDummy code 121 122 122 123 ***********************************************************************/ … … 1269 1270 DbgMsg(pszSrcFile, __LINE__, "FillTreeCnr hwndCnr %x hwndParent %x", hwndCnr, hwndParent); // 2015-08-03 SHL FIXME debug 1270 1271 1271 fDummy = TRUE;1272 1272 *szSuggest = 0; 1273 1273 for (iDrvNum = 0; iDrvNum < 26; iDrvNum++) { … … 1673 1673 1674 1674 DosSleep(16); 1675 fDummy = FALSE;1676 1675 1677 1676 fInitialDriveScan = FALSE; -
trunk/dll/init.c
r1863 r1868 138 138 20 Aug 15 SHL Support PCSZ_DOS...SEM 139 139 22 Aug 15 GKY Remove recurse scan code. 140 140 24 Aug 15 GKY Remove obsolete code fDontAsk?zip 141 141 142 ***********************************************************************/ 142 143 … … 261 262 BOOL fReminimize; 262 263 BOOL fWantFirstTimeInit; 263 BOOL fUseShellEnv; 264 BOOL fDontAskBzip; 265 BOOL fDontAskGzip; 266 //BOOL fDrivetoSkip[26]; 264 BOOL fUseShellEnv;; 267 265 HPOINTER hptrApp; 268 266 HPOINTER hptrArc; … … 1646 1644 if (fThreadNotes) 1647 1645 ShowNote(); 1648 size = sizeof(BOOL);1649 PrfQueryProfileData(fmprof, FM3Str, "DontAskBzip", &fDontAskBzip, &size);1650 size = sizeof(BOOL);1651 PrfQueryProfileData(fmprof, FM3Str, "DontAskGzip", &fDontAskGzip, &size);1652 1646 1653 1647 // 2015-08-11 SHL FIXME debug -
trunk/dll/init.h
r1860 r1868 45 45 19 Aug 15 SHL Delete obsoletes 46 46 20 Aug 15 SHL Support PCSZ_DOS...SEM 47 24 Aug 15 GKY Remove obsolete code fDontAsk?zip 47 48 48 49 ***********************************************************************/ … … 223 224 extern BOOL fWantFirstTimeInit; 224 225 extern BOOL fUseShellEnv; 225 extern BOOL fDontAskBzip;226 extern BOOL fDontAskGzip;227 226 extern HPOINTER hptrApp; 228 227 extern HPOINTER hptrArc; -
trunk/dll/treecnr.c
r1867 r1868 104 104 22 Aug 15 GKY Improve ability of maketop to get directory position in tree correct on first 105 105 open of states with large and/or deep tree structures 106 24 AUG 15 GKY Remove fDummy code 106 107 107 108 ***********************************************************************/ … … 180 181 INT driveserial[26]; 181 182 BOOL fDCOpens; 182 BOOL fDummy;183 183 BOOL fFollowTree; 184 184 BOOL fTopDir; … … 1798 1798 1799 1799 case CN_EMPHASIS: 1800 if (!fDummy) { 1801 1802 PNOTIFYRECORDEMPHASIS pre = mp2; 1803 1804 if (pre->fEmphasisMask & CRA_SELECTED) { 1805 if (pre->pRecord->flRecordAttr & CRA_SELECTED) { 1806 if (((PCNRITEM) (pre->pRecord))->attrFile & FILE_DIRECTORY) { 1807 PostMsg(hwnd, UM_RESCAN, MPVOID, MPVOID); 1808 if (fFollowTree && 1809 !(driveflags 1810 [toupper(*((PCNRITEM) pre->pRecord)->pszFileName) - 1811 'A'] & DRIVE_INVALID)) { 1812 if (!LastDir && !ParentIsDesktop(hwnd, dcd->hwndParent)) 1813 LastDir = FindDirCnr(dcd->hwndParent); 1814 if (LastDir) { 1815 1816 NOTIFYRECORDENTER pri; 1817 BOOL tbool = fDCOpens; 1818 1819 fDCOpens = FALSE; 1820 memset(&pri, 0, sizeof(pri)); 1821 pri.hwndCnr = hwnd; 1822 pri.fKey = FALSE; 1823 pri.pRecord = pre->pRecord; 1824 WinSendMsg(hwnd, 1825 WM_CONTROL, 1826 MPFROM2SHORT(SHORT1FROMMP(mp1), 1827 CN_ENTER), MPFROMP(&pri)); 1828 fDCOpens = tbool; 1829 } 1830 } 1831 if (*(ULONG *) realappname != FM3UL) 1832 WinSetWindowText(WinWindowFromID(dcd->hwndFrame, 1833 MAIN_STATUS), 1834 ((PCNRITEM) (pre->pRecord))->pszFileName); 1835 } 1836 } 1837 } 1838 } 1839 break; 1800 { 1801 PNOTIFYRECORDEMPHASIS pre = mp2; 1802 1803 if (pre->fEmphasisMask & CRA_SELECTED) { 1804 if (pre->pRecord->flRecordAttr & CRA_SELECTED) { 1805 if (((PCNRITEM) (pre->pRecord))->attrFile & FILE_DIRECTORY) { 1806 PostMsg(hwnd, UM_RESCAN, MPVOID, MPVOID); 1807 if (fFollowTree && 1808 !(driveflags 1809 [toupper(*((PCNRITEM) pre->pRecord)->pszFileName) - 1810 'A'] & DRIVE_INVALID)) { 1811 if (!LastDir && !ParentIsDesktop(hwnd, dcd->hwndParent)) 1812 LastDir = FindDirCnr(dcd->hwndParent); 1813 if (LastDir) { 1814 1815 NOTIFYRECORDENTER pri; 1816 BOOL tbool = fDCOpens; 1817 1818 fDCOpens = FALSE; 1819 memset(&pri, 0, sizeof(pri)); 1820 pri.hwndCnr = hwnd; 1821 pri.fKey = FALSE; 1822 pri.pRecord = pre->pRecord; 1823 WinSendMsg(hwnd, 1824 WM_CONTROL, 1825 MPFROM2SHORT(SHORT1FROMMP(mp1), 1826 CN_ENTER), MPFROMP(&pri)); 1827 fDCOpens = tbool; 1828 } 1829 } 1830 if (*(ULONG *) realappname != FM3UL) 1831 WinSetWindowText(WinWindowFromID(dcd->hwndFrame, 1832 MAIN_STATUS), 1833 ((PCNRITEM) (pre->pRecord))->pszFileName); 1834 } 1835 } 1836 } 1837 } 1838 break; 1840 1839 1841 1840 case CN_CONTEXTMENU: … … 3183 3182 if (dcd && hwndMain) { 3184 3183 fOkayMinimize = TRUE; 3185 if (dcd->hwndObject && !fDummy) {3184 if (dcd->hwndObject) { 3186 3185 DosSleep(50);//05 Aug 07 GKY 100 3187 if (!fDummy) {3188 3186 fOkayMinimize = FALSE; 3189 3187 WinSetWindowPos(((hwndMain) ? WinQueryWindow(hwndMain, QW_PARENT) : 3190 3188 dcd->hwndFrame), HWND_TOP, 0, 0, 0, 0, 3191 3189 SWP_MINIMIZE | SWP_DEACTIVATE); 3192 }3193 3190 } 3194 3191 } -
trunk/dll/treecnr.h
r1865 r1868 14 14 and have no default choice. 15 15 23 Aug 15 SHL Protect ShowTreeRec dirname arg 16 24 AUG 15 GKY Remove fDummy code 16 17 17 18 ***********************************************************************/ … … 35 36 extern INT driveserial[26]; 36 37 extern BOOL fDCOpens; 37 extern BOOL fDummy;38 38 extern BOOL fFollowTree; 39 39 extern BOOL fTopDir;
Note:
See TracChangeset
for help on using the changeset viewer.
