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

.

File:
1 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)
Note: See TracChangeset for help on using the changeset viewer.