Changeset 796 for trunk/dll/init.c


Ignore:
Timestamp:
Aug 22, 2007, 1:22:27 AM (18 years ago)
Author:
Gregg Young
Message:

Make subject column in dircnrs movable from one pane to the other; allow column to be sized truncating long subjects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r789 r796  
    3131  18 Aug 07 JBS Added code to read Details* keys from the INI file (Ticket 118)
    3232  19 Aug 07 SHL Ensure FilesToGet in valid range
     33  21 Aug 07 GKY Make Subject column in dircnr sizable and movable from the rigth to the left pane
    3334
    3435***********************************************************************/
     
    12721273                      &size);
    12731274  size = sizeof(ULONG);
    1274   PrfQueryProfileData(fmprof, appname, "FilesToGet", (PVOID)&FilesToGet,
     1275  PrfQueryProfileData(fmprof, appname, "FilesToGet", (PVOID) &FilesToGet,
    12751276                      &size);
    12761277  if (FilesToGet < FILESTOGET_MIN)
     
    13191320  size = sizeof(BOOL);
    13201321  PrfQueryProfileData(fmprof, appname, "DetailsIcon", (PVOID) &detailsicon,
    1321                       &size);
     1322                      &size);
     1323  size = sizeof(BOOL);
     1324  PrfQueryProfileData(fmprof, appname, "SubjectInLeftPane", (PVOID) &fSubjectInLeftPane,
     1325                      &size);
     1326  size = sizeof(ULONG);
     1327  PrfQueryProfileData(fmprof, appname, "SubjectDisplayWidth", (PVOID) &SubjectDisplayWidth,
     1328                      &size);
     1329  if (SubjectDisplayWidth < 50)
     1330    SubjectDisplayWidth = 0;
     1331  else if (SubjectDisplayWidth > 1000)
     1332    SubjectDisplayWidth = 1000;
     1333  size = sizeof(BOOL);
     1334  PrfQueryProfileData(fmprof, appname, "SubjectLengthMax", (PVOID) &fSubjectLengthMax,
     1335                      &size);
    13221336
    13231337  /* load pointers and icons we use */
Note: See TracChangeset for help on using the changeset viewer.