Changeset 9370 for trunk/src/comctl32/listview.c
- Timestamp:
- Oct 29, 2002, 1:19:36 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/listview.c
r9247 r9370 76 76 #include <heapstring.h> 77 77 #include "ccbase.h" 78 #include "header.h"79 78 80 79 typedef struct … … 10108 10107 RECT rect; 10109 10108 10110 if (H EADER_GetItemRect(infoPtr->hwndHeader,(WPARAM)nSubItem,(LPARAM)&rect))10109 if (Header_GetItemRect(infoPtr->hwndHeader,(WPARAM)nSubItem,(LPARAM)&rect)) 10111 10110 { 10112 10111 lpptPosition->x = rect.left+REPORT_MARGINX; … … 10148 10147 10149 10148 nSubItem = lprc->top; 10150 if ((nSubItem < 0) || (nSubItem >= H EADER_GetItemCount(infoPtr->hwndHeader))) return FALSE;10149 if ((nSubItem < 0) || (nSubItem >= Header_GetItemCount(infoPtr->hwndHeader))) return FALSE; 10151 10150 if (!LISTVIEW_GetSubItemPosition(hwnd, infoPtr,nItem,nSubItem,&ptItem)) return FALSE; 10152 10151 … … 10347 10346 if (checkSubItems && (uView == LVS_REPORT)) 10348 10347 { 10349 INT nColumnCount = H EADER_GetItemCount(infoPtr->hwndHeader);10348 INT nColumnCount = Header_GetItemCount(infoPtr->hwndHeader); 10350 10349 INT xDiff = -infoPtr->lefttop.x*infoPtr->scrollStep.x; 10351 10350 … … 10356 10355 RECT rcColumn; 10357 10356 10358 H EADER_GetItemRect(infoPtr->hwndHeader,(WPARAM)x,(LPARAM)&rcColumn);10357 Header_GetItemRect(infoPtr->hwndHeader,(WPARAM)x,(LPARAM)&rcColumn); 10359 10358 rcItem.left = xDiff+REPORT_MARGINX+rcColumn.left; 10360 10359 rcItem.right = xDiff+rcColumn.right-REPORT_MARGINX;
Note:
See TracChangeset
for help on using the changeset viewer.