Changeset 1482 for trunk/dll/dircnrs.c
- Timestamp:
- Dec 13, 2009, 8:59:47 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/dll/dircnrs.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dircnrs.c
r1459 r1482 69 69 14 Sep 09 SHL Drop experimental code 70 70 15 Sep 09 SHL Show rescan progress while filling container 71 13 Dec 09 GKY Fixed separate paramenters. Please note that appname should be used in 72 profile calls for user settings that work and are setable in more than one 73 miniapp; FM3Str should be used for setting only relavent to FM/2 or that 74 aren't user settable; realappname should be used for setting applicable to 75 one or more miniapp but not to FM/2 71 76 72 77 ***********************************************************************/ … … 1557 1562 ULONG size = sizeof(ULONG); 1558 1563 1559 PrfQueryProfileData(fmprof, 1560 appname, 1561 "DirflWindowAttr", 1564 PrfQueryProfileData(fmprof, appname, "DirflWindowAttr", 1562 1565 (PVOID) & cnri.flWindowAttr, &size); 1563 1566 size = sizeof(MASK); 1564 1567 if (!*dcd->mask.szMask && 1565 1568 !dcd->mask.attrFile && !dcd->mask.antiattr) { 1566 if (PrfQueryProfileSize(fmprof, 1567 appname, "DirFilter", &size) && size) { 1568 PrfQueryProfileData(fmprof, 1569 appname, "DirFilter", &dcd->mask, &size); 1569 if (PrfQueryProfileSize(fmprof, appname, "DirFilter", &size) && size) { 1570 PrfQueryProfileData(fmprof, appname, "DirFilter", &dcd->mask, &size); 1570 1571 SetMask(dcd->mask.szMask, &dcd->mask); 1571 1572 } … … 3489 3490 WinQueryWindowPos(dcd->hwndFrame, &swp); 3490 3491 if (!(swp.fl & (SWP_HIDE | SWP_MINIMIZE | SWP_MAXIMIZE))) 3491 PrfWriteProfileData(fmprof, 3492 appname, "VDirSizePos", &swp, sizeof(swp)); 3492 PrfWriteProfileData(fmprof, appname, "VDirSizePos", &swp, sizeof(swp)); 3493 3493 } 3494 3494 break; … … 3811 3811 3812 3812 WinQueryTaskSizePos(WinQueryAnchorBlock(hwndFrame), 0, &swp); 3813 if (PrfQueryProfileData(fmprof, 3814 appname, "VDirSizePos", &swpD, &size)) { 3813 if (PrfQueryProfileData(fmprof, appname, "VDirSizePos", &swpD, &size)) { 3815 3814 cxScreen = WinQuerySysValue(HWND_DESKTOP, SV_CXSCREEN); 3816 3815 cyScreen = WinQuerySysValue(HWND_DESKTOP, SV_CYSCREEN);
Note:
See TracChangeset
for help on using the changeset viewer.
