Changeset 7487 for trunk/src


Ignore:
Timestamp:
Nov 29, 2001, 1:43:17 PM (24 years ago)
Author:
sandervl
Message:

invalidate entire item for ownerdraw control

File:
1 edited

Legend:

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

    r7365 r7487  
    27402740      rcItem.left = LVIR_BOUNDS;
    27412741      LISTVIEW_GetItemRect(hwnd, lpLVItem->iItem, &rcItem);
     2742#ifdef __WIN32OS2__
     2743          if(lStyle & LVS_OWNERDRAWFIXED && rcItem.left == REPORT_MARGINX) {
     2744              rcItem.left = 0;
     2745          }
     2746#endif
    27422747      InvalidateRect(hwnd, &rcItem, TRUE);
    27432748        }
     
    28502855            rcItem.left = LVIR_BOUNDS;
    28512856        LISTVIEW_GetItemRect(hwnd, lpLVItem->iItem, &rcItem);
     2857#ifdef __WIN32OS2__
     2858            if(lStyle & LVS_OWNERDRAWFIXED && rcItem.left == REPORT_MARGINX) {
     2859               rcItem.left = 0;
     2860            }
     2861#endif
    28522862            InvalidateRect(hwnd, &rcItem, TRUE);
    28532863          }
     
    36243634  INT nListHeight = infoPtr->rcList.bottom - infoPtr->rcList.top;
    36253635  INT nCountPerColumn = 1;
     3636
     3637#ifdef __WIN32OS2__
     3638  if(infoPtr->nItemHeight == 0)
     3639      return 1;
     3640#endif
    36263641
    36273642  if (nListHeight > 0)
Note: See TracChangeset for help on using the changeset viewer.