Changeset 7133 for trunk/src


Ignore:
Timestamp:
Oct 19, 2001, 4:40:11 PM (24 years ago)
Author:
phaller
Message:

.

Location:
trunk/src/comctl32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/listview.c

    r6705 r7133  
    52305230  INT* piImage;
    52315231  LPSTR* ppszText;
     5232  LPARAM *plParam;
    52325233  HDPA hdpaSubItems;
    52335234  LONG lStyle = GetWindowLongA(hwnd, GWL_STYLE);
     
    52865287    piImage=&lpItem->iImage;
    52875288    ppszText=&lpItem->pszText;
     5289    plParam=&lpItem->lParam;
    52885290    if ((infoPtr->uCallbackMask != 0) && (lpLVItem->mask & LVIF_STATE))
    52895291    {
     
    52995301      piImage=&lpSubItem->iImage;
    53005302      ppszText=&lpSubItem->pszText;
     5303      plParam=NULL;
    53015304    }
    53025305    else
     
    53045307      piImage=NULL;
    53055308      ppszText=NULL;
     5309      plParam=NULL;
    53065310    }
    53075311  }
     
    53365340  {
    53375341    lpLVItem->iImage = dispInfo.item.iImage;
     5342    if ((dispInfo.item.mask & LVIF_DI_SETITEM) && piImage)
     5343    {
     5344      *piImage = dispInfo.item.iImage;
     5345    }
    53385346  }
    53395347  else if (lpLVItem->mask & LVIF_IMAGE)
     
    53455353  {
    53465354    lpLVItem->lParam = dispInfo.item.lParam;
     5355    if ((dispInfo.item.mask & LVIF_DI_SETITEM) && plParam)
     5356    {
     5357      *plParam = dispInfo.item.lParam;
     5358    }
    53475359  }
    53485360  else if (lpLVItem->mask & LVIF_PARAM)
  • trunk/src/comctl32/status.c

    r6709 r7133  
    477477        if (nPart >= infoPtr->numParts)
    478478            return FALSE;
    479         part = &infoPtr->parts[nPart];
     479        if (infoPtr->simple)
     480        part = &infoPtr->part0;
     481        else
     482        part = &infoPtr->parts[nPart];
    480483    }
    481484#else
    482         part = &infoPtr->parts[nPart];
     485        if (infoPtr->simple)
     486        part = &infoPtr->part0;
     487        else
     488        part = &infoPtr->parts[nPart];
    483489#endif
    484490
Note: See TracChangeset for help on using the changeset viewer.