Ignore:
Timestamp:
Nov 13, 2007, 12:25:28 AM (18 years ago)
Author:
John Small
Message:

A "first draft" of code to address ticket 150.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ticket_150/dll/notebook.c

    r796 r869  
    14721472    PrfWriteProfileData(fmprof, appname, "DetailsLongname",
    14731473                        &detailslongname, sizeof(BOOL));
    1474     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLongname",
    1475                         &detailslongname, sizeof(BOOL));
     1474//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLongname",
     1475//                      &detailslongname, sizeof(BOOL));
    14761476    detailssubject = WinQueryButtonCheckstate(hwnd, CFG5_SHOWSUBJECT);
    14771477    PrfWriteProfileData(fmprof, appname, "DetailsSubject",
    14781478                        &detailssubject, sizeof(BOOL));
    1479     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsSubject",
    1480                         &detailssubject, sizeof(BOOL));
     1479//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsSubject",
     1480//                      &detailssubject, sizeof(BOOL));
    14811481    detailsea = WinQueryButtonCheckstate(hwnd, CFG5_SHOWEAS);
    14821482    PrfWriteProfileData(fmprof, appname, "DetailsEA",
    14831483                        &detailsea, sizeof(BOOL));
    1484     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsEA",
    1485                         &detailsea, sizeof(BOOL));
     1484//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsEA",
     1485//                      &detailsea, sizeof(BOOL));
    14861486    detailssize = WinQueryButtonCheckstate(hwnd, CFG5_SHOWSIZE);
    14871487    PrfWriteProfileData(fmprof, appname, "DetailsSize",
    14881488                        &detailssize, sizeof(BOOL));
    1489     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsSize",
    1490                         &detailssize, sizeof(BOOL));
     1489//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsSize",
     1490//                      &detailssize, sizeof(BOOL));
    14911491    detailsicon = WinQueryButtonCheckstate(hwnd, CFG5_SHOWICON);
    14921492    PrfWriteProfileData(fmprof, appname, "DetailsIcon",
    14931493                        &detailsicon, sizeof(BOOL));
    1494     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsIcon",
    1495                         &detailsicon, sizeof(BOOL));
     1494//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsIcon",
     1495//                      &detailsicon, sizeof(BOOL));
    14961496    detailslwdate = WinQueryButtonCheckstate(hwnd, CFG5_SHOWLWDATE);
    14971497    PrfWriteProfileData(fmprof, appname, "DetailsLWDate",
    14981498                        &detailslwdate, sizeof(BOOL));
    1499     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLWDate",
    1500                         &detailslwdate, sizeof(BOOL));
     1499//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLWDate",
     1500//                      &detailslwdate, sizeof(BOOL));
    15011501    detailslwtime = WinQueryButtonCheckstate(hwnd, CFG5_SHOWLWTIME);
    15021502    PrfWriteProfileData(fmprof, appname, "DetailsLWTime",
    15031503                        &detailslwtime, sizeof(BOOL));
    1504     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLWTime",
    1505                         &detailslwtime, sizeof(BOOL));
     1504//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLWTime",
     1505//                      &detailslwtime, sizeof(BOOL));
    15061506    detailsladate = WinQueryButtonCheckstate(hwnd, CFG5_SHOWLADATE);
    15071507    PrfWriteProfileData(fmprof, appname, "DetailsLADate",
    15081508                        &detailsladate, sizeof(BOOL));
    1509     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLADate",
    1510                         &detailsladate, sizeof(BOOL));
     1509//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLADate",
     1510//                      &detailsladate, sizeof(BOOL));
    15111511    detailslatime = WinQueryButtonCheckstate(hwnd, CFG5_SHOWLATIME);
    15121512    PrfWriteProfileData(fmprof, appname, "DetailsLATime",
    15131513                        &detailslatime, sizeof(BOOL));
    1514     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLATime",
    1515                         &detailslatime, sizeof(BOOL));
     1514//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLATime",
     1515//                      &detailslatime, sizeof(BOOL));
    15161516    detailscrdate = WinQueryButtonCheckstate(hwnd, CFG5_SHOWCRDATE);
    15171517    PrfWriteProfileData(fmprof, appname, "DetailsCRDate",
    15181518                        &detailscrdate, sizeof(BOOL));
    1519     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsCRDate",
    1520                         &detailscrdate, sizeof(BOOL));
     1519//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsCRDate",
     1520//                      &detailscrdate, sizeof(BOOL));
    15211521    detailscrtime = WinQueryButtonCheckstate(hwnd, CFG5_SHOWCRTIME);
    15221522    PrfWriteProfileData(fmprof, appname, "DetailsCRTime",
    15231523                        &detailscrtime, sizeof(BOOL));
    1524     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsCRTime",
    1525                         &detailscrtime, sizeof(BOOL));
     1524//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsCRTime",
     1525//                      &detailscrtime, sizeof(BOOL));
    15261526    detailsattr = WinQueryButtonCheckstate(hwnd, CFG5_SHOWATTR);
    15271527    PrfWriteProfileData(fmprof, appname, "DetailsAttr",
    15281528                        &detailsattr, sizeof(BOOL));
    1529     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsAttr",
    1530                         &detailsattr, sizeof(BOOL));
     1529//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsAttr",
     1530//                         &detailsattr, sizeof(BOOL));
    15311531    fSubjectInLeftPane = WinQueryButtonCheckstate(hwnd, CFG5_SUBJECTINLEFTPANE);
    15321532    PrfWriteProfileData(fmprof, appname, "SubjectInLeftPane",
     
    26272627    PrfWriteProfileData(fmprof, appname, "DetailsLongname",
    26282628                        &detailslongname, sizeof(BOOL));
    2629     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLongname",
    2630                         &detailslongname, sizeof(BOOL));
     2629//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLongname",
     2630//                      &detailslongname, sizeof(BOOL));
    26312631    PrfWriteProfileData(fmprof, appname, "DetailsSubject",
    26322632                        &detailssubject, sizeof(BOOL));
    2633     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsSubject",
    2634                         &detailssubject, sizeof(BOOL));
     2633//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsSubject",
     2634//                      &detailssubject, sizeof(BOOL));
    26352635    PrfWriteProfileData(fmprof, appname, "DetailsEA",
    26362636                        &detailsea, sizeof(BOOL));
    2637     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsEA",
    2638                         &detailsea, sizeof(BOOL));
     2637//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsEA",
     2638//                      &detailsea, sizeof(BOOL));
    26392639    PrfWriteProfileData(fmprof, appname, "DetailsSize",
    26402640                        &detailssize, sizeof(BOOL));
    2641     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsSize",
    2642                         &detailssize, sizeof(BOOL));
     2641//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsSize",
     2642//                      &detailssize, sizeof(BOOL));
    26432643    PrfWriteProfileData(fmprof, appname, "DetailsIcon",
    26442644                        &detailsicon, sizeof(BOOL));
    2645     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsIcon",
    2646                         &detailsicon, sizeof(BOOL));
     2645//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsIcon",
     2646//                      &detailsicon, sizeof(BOOL));
    26472647    PrfWriteProfileData(fmprof, appname, "DetailsLWDate",
    26482648                        &detailslwdate, sizeof(BOOL));
    2649     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLWDate",
    2650                         &detailslwdate, sizeof(BOOL));
     2649//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLWDate",
     2650//                      &detailslwdate, sizeof(BOOL));
    26512651    PrfWriteProfileData(fmprof, appname, "DetailsLWTime",
    26522652                        &detailslwtime, sizeof(BOOL));
    2653     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLWTime",
    2654                         &detailslwtime, sizeof(BOOL));
     2653//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLWTime",
     2654//                      &detailslwtime, sizeof(BOOL));
    26552655    PrfWriteProfileData(fmprof, appname, "DetailsLADate",
    26562656                        &detailsladate, sizeof(BOOL));
    2657     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLADate",
    2658                         &detailsladate, sizeof(BOOL));
     2657//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLADate",
     2658//                      &detailsladate, sizeof(BOOL));
    26592659    PrfWriteProfileData(fmprof, appname, "DetailsLATime",
    26602660                        &detailslatime, sizeof(BOOL));
    2661     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLATime",
    2662                         &detailslatime, sizeof(BOOL));
     2661//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsLATime",
     2662//                      &detailslatime, sizeof(BOOL));
    26632663    PrfWriteProfileData(fmprof, appname, "DetailsCRDate",
    26642664                        &detailscrdate, sizeof(BOOL));
    2665     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsCRDate",
    2666                         &detailscrdate, sizeof(BOOL));
     2665//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsCRDate",
     2666//                      &detailscrdate, sizeof(BOOL));
    26672667    PrfWriteProfileData(fmprof, appname, "DetailsCRTime",
    26682668                        &detailscrtime, sizeof(BOOL));
    2669     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsCRTime",
    2670                         &detailscrtime, sizeof(BOOL));
     2669//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsCRTime",
     2670//                      &detailscrtime, sizeof(BOOL));
    26712671    PrfWriteProfileData(fmprof, appname, "DetailsAttr",
    26722672                        &detailsattr, sizeof(BOOL));
    2673     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsAttr",
    2674                         &detailsattr, sizeof(BOOL));
     2673//     PrfWriteProfileData(fmprof, appname, "DirCnr.DetailsAttr",
     2674//                      &detailsattr, sizeof(BOOL));
    26752675    if (hwndMain) {
    26762676      if (SaveDirCnrState(hwndMain, GetPString(IDS_FM2TEMPTEXT)) > 0) {
Note: See TracChangeset for help on using the changeset viewer.