Changeset 8852 for trunk/src


Ignore:
Timestamp:
Jul 11, 2002, 5:19:29 PM (23 years ago)
Author:
sandervl
Message:

PF: clear background for area without items (ownerdrawn)

File:
1 edited

Legend:

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

    r8739 r8852  
    38893889    nDrawPosY += infoPtr->nItemHeight;
    38903890  }
     3891
     3892#ifdef __WIN32OS2__
     3893  /* we have to fill leftovers of what was NOT filled by application, otherwise
     3894     we will have gaps */
     3895  if ((lStyle & LVS_OWNERDRAWFIXED))
     3896  {
     3897    RECT tempRect;
     3898    CopyRect(&tempRect, &infoPtr->rcList);
     3899    tempRect.top = nDrawPosY;
     3900    if (tempRect.top < tempRect.bottom)
     3901      LISTVIEW_FillBackground(hwnd, hdc, &tempRect);
     3902  }
     3903#endif
    38913904}
    38923905
     
    85988611    bResult = TRUE;
    85998612  }
    8600 
    86018613  return bResult;
    86028614}
Note: See TracChangeset for help on using the changeset viewer.