Changeset 792 for trunk/dll/misc.c


Ignore:
Timestamp:
Aug 21, 2007, 12:58:19 AM (18 years ago)
Author:
Gregg Young
Message:

Moved Subject to left directory container pane to use existing slide bar to limit visible width. Left justified Filename, Longname and Subject column headers for easy identification with very wide columns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r787 r792  
    502502    pfi = pfi->pNextFieldInfo;
    503503    pfi->flData = CFA_STRING | CFA_LEFT | CFA_SEPARATOR;
    504     pfi->flTitle = CFA_CENTER;
     504    pfi->flTitle = CFA_LEFT;
    505505    pfi->pTitleData = GetPString(IDS_FILENAME);
    506506    pfi->offStruct = FIELDOFFSET(CNRITEM, pszDisplayName);
     
    510510    pfi = pfi->pNextFieldInfo;
    511511    pfi->flData = CFA_STRING | CFA_LEFT;
    512     pfi->flTitle = CFA_CENTER | CFA_FITITLEREADONLY;
     512    pfi->flTitle = CFA_LEFT | CFA_FITITLEREADONLY;
    513513    pfi->pTitleData = GetPString(IDS_LNAME);
    514514    pfi->offStruct = FIELDOFFSET(CNRITEM, pszLongName);
    515 
    516     // Store the current pfi value as that will be used to indicate the
    517     // last column in the lefthand container window (we have a splitbar)
    518 
    519     pfiLastLeftCol = pfi;
    520515
    521516    // Fill in column info for subjects
     
    525520    if (isCompCnr)
    526521      pfi->flData |= CFA_FIREADONLY;
    527     pfi->flTitle = CFA_CENTER | CFA_FITITLEREADONLY;
     522    pfi->flTitle = CFA_LEFT | CFA_FITITLEREADONLY;
    528523    pfi->pTitleData = isCompCnr ? GetPString(IDS_STATUS) :
    529524                                  GetPString(IDS_SUBJ);
    530525    pfi->offStruct = FIELDOFFSET(CNRITEM, pszSubject);
     526
     527    // Store the current pfi value as that will be used to indicate the
     528    // last column in the lefthand container window (we have a splitbar)
     529
     530    pfiLastLeftCol = pfi;
    531531
    532532    // Fill in column information for the file size
Note: See TracChangeset for help on using the changeset viewer.