Changeset 971 for trunk/dll/notebook.c
- Timestamp:
- Feb 23, 2008, 1:56:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.