- Timestamp:
- May 15, 2003, 5:45:28 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/listview.c
r10097 r10100 3971 3971 } 3972 3972 else if (uView == LVS_REPORT) 3973 #ifdef __WIN32OS2__ 3974 { 3975 FIXME("uView == LVS_REPORT: implemented likely incorrect\n"); 3976 3977 if (wHeight == 0xFFFF) 3978 { 3979 /* use current height */ 3980 wHeight = infoPtr->rcList.bottom - infoPtr->rcList.top; 3981 } 3982 3983 if (wHeight < infoPtr->nItemHeight) 3984 wHeight = infoPtr->nItemHeight; 3985 3986 if (nItemCount > 0) 3987 { 3988 if (infoPtr->nItemHeight > 0) 3989 { 3990 nItemCountPerColumn = wHeight / infoPtr->nItemHeight; 3991 if (nItemCountPerColumn == 0) 3992 nItemCountPerColumn = 1; 3993 3994 if (nItemCount % nItemCountPerColumn != 0) 3995 nColumnCount = nItemCount / nItemCountPerColumn; 3996 else 3997 nColumnCount = nItemCount / nItemCountPerColumn + 1; 3998 } 3999 } 4000 else { 4001 nItemCountPerColumn = 0; 4002 nColumnCount = 0; 4003 } 4004 4005 /* Microsoft padding magic */ 4006 wHeight = nItemCountPerColumn * infoPtr->nItemHeight + 2; 4007 wWidth = nColumnCount * infoPtr->nItemWidth + 2; 4008 4009 dwViewRect = MAKELONG(wWidth, wHeight); 4010 } 4011 #else 3973 4012 FIXME("uView == LVS_REPORT: not implemented\n"); 4013 #endif 3974 4014 else if (uView == LVS_SMALLICON) 3975 4015 FIXME("uView == LVS_SMALLICON: not implemented\n");
Note:
See TracChangeset
for help on using the changeset viewer.