Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dircnrs.c
r958 r971 1231 1231 return 0; 1232 1232 1233 case WM_PRESPARAMCHANGED:1234 PresParamChanged(hwnd, "DirCnr", mp1, mp2);1235 break;1233 // case WM_PRESPARAMCHANGED: 1234 // PresParamChanged(hwnd, "DirCnr", mp1, mp2); 1235 // break; 1236 1236 1237 1237 case UM_UPDATERECORDLIST: … … 1427 1427 CNRINFO cnri; 1428 1428 1429 RestorePresParams(hwnd, "DirCnr");1429 // RestorePresParams(hwnd, "DirCnr"); 1430 1430 memset(&cnri, 0, sizeof(CNRINFO)); 1431 1431 cnri.cb = sizeof(CNRINFO); -
trunk/dll/mainwnd.c
r965 r971 53 53 15 Feb 08 SHL Rework ResizeChildren to honor fNoTreeGap and resize drive tree better 54 54 19 Feb 08 JBS Stop deleting "State at last FM/2 Close" from INI file so it be accessed from States combo box. 55 22 Feb 08 JBS Ticket 230: Fix/improve various code related to state or presparam values in the INI file. 55 56 56 57 ***********************************************************************/ … … 3213 3214 PrfWriteProfileData(fmprof, FM3Str, szKey, NULL, 0L); 3214 3215 } 3215 sprintf(szKey, "%sDirCnr.%lu", szPrefix, x);3216 RestorePresParams(hwndClient, szKey);3217 SavePresParams(hwndClient, "DirCnr");3216 // sprintf(szKey, "%sDirCnr.%lu", szPrefix, x); 3217 // RestorePresParams(hwndClient, szKey); 3218 // SavePresParams(hwndClient, "DirCnr"); 3218 3219 hwndDir = (HWND) WinSendMsg(hwndClient, 3219 3220 UM_SETDIR, … … 3223 3224 if (hwndC) { 3224 3225 HWND hwndCnr = WinWindowFromID(hwndC, DIR_CNR); 3226 sprintf(szKey, "%sDirCnr.%lu", szPrefix, x); 3227 RestorePresParams(hwndCnr, szKey); 3225 3228 dcd = WinQueryWindowPtr(hwndCnr, QWL_USER); 3226 3229 if (dcd) { … … 4640 4643 sprintf(s, "%s.DirCnr.%lu.DetailsAttr", szStateName, x); 4641 4644 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0); 4645 sprintf(s, "%s.DirCnr.%lu.DetailsIcon", szStateName, x); 4646 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0); 4642 4647 sprintf(s, "%s.DirCnr.%lu.DetailsLWDate", szStateName, x); 4643 4648 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0); … … 4651 4656 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0); 4652 4657 sprintf(s, "%s.DirCnr.%lu.DetailsCRTime", szStateName, x); 4658 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0); 4659 sprintf(s, "%s.DirCnr.%lu.Backgroundcolor", szStateName, x); 4660 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0); 4661 sprintf(s, "%s.DirCnr.%lu.Fontnamesize", szStateName, x); 4653 4662 PrfWriteProfileData(fmprof, FM3Str, s, NULL, 0); 4654 4663 } -
trunk/dll/notebook.c
r961 r971 1397 1397 // Save state and restore to refresh windows with new settings 1398 1398 if (SaveDirCnrState(hwndMain, GetPString(IDS_FM2TEMPTEXT)) > 0) { 1399 PostMsg(MainObjectHwnd, UM_RESTORE, MPVOID, MPFROMLONG(2)); 1400 PostMsg(hwndMain, UM_RESTORE, MPVOID, MPVOID); 1399 PostMsg(MainObjectHwnd, UM_RESTORE, MPVOID, MPFROMLONG(2)); 1400 // PostMsg(hwndMain, UM_RESTORE, MPVOID, MPVOID); 1401 PostMsg(MainObjectHwnd, UM_RESTORE, GetPString(IDS_FM2TEMPTEXT), MPVOID); 1401 1402 } 1402 1403 } … … 1821 1822 PrfWriteProfileData(fmprof, 1822 1823 appname, "SubjectDisplayWidth", 1823 &SubjectDisplayWidth, sizeof(ULONG));1824 PrfWriteProfileData(fmprof,1825 appname, "DirCnr.SubjectDisplayWidth",1826 1824 &SubjectDisplayWidth, sizeof(ULONG)); 1827 1825 } … … 2366 2364 "CollectorflWindowAttr", 2367 2365 &flWindowAttr, sizeof(ULONG)); 2368 PrfWriteProfileData(fmprof, appname, "DirCnr.Fontnamesize", NULL, 0);2369 2366 PrfWriteProfileData(fmprof, 2370 2367 appname, "Collector.Fontnamesize", NULL, 0); … … 2421 2418 "CollectorflWindowAttr", 2422 2419 &flWindowAttr, sizeof(ULONG)); 2423 PrfWriteProfileData(fmprof,2424 appname,2425 "DirCnr.Fontnamesize",2426 GetPString(IDS_8HELVTEXT),2427 strlen(GetPString(IDS_8HELVTEXT)) + 1);2428 2420 PrfWriteProfileData(fmprof, 2429 2421 appname, … … 2484 2476 PrfWriteProfileData(fmprof, appname, "CollectorflWindowAttr", 2485 2477 &flWindowAttr, sizeof(ULONG)); 2486 PrfWriteProfileData(fmprof, appname, "DirCnr.Fontnamesize",2487 GetPString(IDS_8HELVTEXT),2488 strlen(GetPString(IDS_8HELVTEXT)) + 1);2489 2478 PrfWriteProfileData(fmprof, appname, "Collector.Fontnamesize", 2490 2479 GetPString(IDS_8HELVTEXT), … … 2950 2939 if (SaveDirCnrState(hwndMain, GetPString(IDS_FM2TEMPTEXT)) > 0) { 2951 2940 // Tell window procedure to close container windows 2952 PostMsg(MainObjectHwnd, UM_RESTORE, MPVOID, MPFROMLONG(2));2941 PostMsg(MainObjectHwnd, UM_RESTORE, MPVOID, MPFROMLONG(2)); 2953 2942 // Restore saved state 2954 PostMsg(hwndMain, UM_RESTORE, MPVOID, MPVOID); 2943 // PostMsg(hwndMain, UM_RESTORE, MPVOID, MPVOID); 2944 PostMsg(MainObjectHwnd, UM_RESTORE, GetPString(IDS_FM2TEMPTEXT), MPVOID); 2955 2945 } 2956 2946 }
Note:
See TracChangeset
for help on using the changeset viewer.
