Lines Matching refs:nTopRow
115 nTopRow = 0; in ConstructImpl()
1161 long nTmpMin = Min( (long)(nTopRow + nRows), (long)(nRowCount - 1) ); in ScrollRows()
1165 if ( nNewTopRow == nTopRow ) in ScrollRows()
1174 nTmpMin = Min( (long)(nTopRow + nRows), (long)(nRowCount - 1) ); in ScrollRows()
1181 long nDeltaY = GetDataRowHeight() * ( nNewTopRow - nTopRow ); in ScrollRows()
1182 long nOldTopRow = nTopRow; in ScrollRows()
1183 nTopRow = nNewTopRow; in ScrollRows()
1188 pVScroll->SetThumbPos( nTopRow ); in ScrollRows()
1199 if ( nTopRow - nOldTopRow ) in ScrollRows()
1205 return nTopRow - nOldTopRow; in ScrollRows()
1229 aRect = Rectangle( Point( 0, (nRow-nTopRow) * GetDataRowHeight() ), in RowModified()
1250 nTopRow = 0; in Clear()
1331 if ( bDoPaint && nRow >= nTopRow && in RowInserted()
1332 nRow <= nTopRow + aSz.Height() / GetDataRowHeight() ) in RowInserted()
1334 long nY = (nRow-nTopRow) * GetDataRowHeight(); in RowInserted()
1356 if ( nRow < nTopRow ) in RowInserted()
1357 nTopRow += nNumRows; in RowInserted()
1473 if ( nRow >= nTopRow && in RowRemoved()
1474 nRow <= nTopRow + aSz.Height() / GetDataRowHeight() ) in RowRemoved()
1482 long nY = (nRow-nTopRow) * GetDataRowHeight(); in RowRemoved()
1498 Point( 0, (nRow-nTopRow)*GetDataRowHeight() ), in RowRemoved()
1506 else if ( nRow < nTopRow ) in RowRemoved()
1507 nTopRow = nTopRow >= nNumRows ? nTopRow-nNumRows : 0; in RowRemoved()
1620 if ( getDataWindow()->bNoScrollBack && nRow < nTopRow ) in GoToRow()
1621 nRow = nTopRow; in GoToRow()
1626 long nLastRow = nTopRow + nVisibleRows; in GoToRow()
1643 if ( nRow < nTopRow ) in GoToRow()
1644 ScrollRows( nRow - nTopRow ); in GoToRow()
1651 pVScroll->SetThumbPos( nTopRow ); in GoToRow()
1877 for ( long nRow = Max( nTopRow, uRow.pSel->FirstSelected() ); in SelectAll()
1878 nRow != BROWSER_ENDOFSELECTION && nRow < nTopRow + nVisibleRows; in SelectAll()
1881 Point( nOfsX, (nRow-nTopRow)*GetDataRowHeight() ), in SelectAll()
1962 Point( nOfsX, (nRow-nTopRow)*GetDataRowHeight() ), in SelectRow()
2215 if ( nRow < nTopRow ) in MakeFieldVisible()
2217 ScrollRows( nRow - nTopRow ); in MakeFieldVisible()
2220 long nBottomRow = nTopRow + GetVisibleRows(); in MakeFieldVisible()
2293 if ( nTopRow > nRow ) in GetRowRectPixel()
2297 Point( 0, GetDataRowHeight() * (nRow-nTopRow) ), in GetRowRectPixel()
2336 nRowY = ( nRow - nTopRow ) * GetDataRowHeight(); in ImplFieldRectPixel()
2363 return nY / GetDataRowHeight() + nTopRow; in GetRowAtYPosPixel()
2649 if (p->nTopRow < 0) return "BrowseBox: nTopRow < 0"; in BrowseBoxCheckInvariants()
2650 …if (p->nTopRow >= p->nRowCount && p->nRowCount != 0) return "BrowseBox: nTopRow >= nRowCount && nR… in BrowseBoxCheckInvariants()