Lines Matching refs:nScrPos
193 long nScrPos; in GetScrPos() local
197 nScrPos = nMax; in GetScrPos()
200 nScrPos = 0; in GetScrPos()
201 for (SCCOLROW i=GetPos(); i<nEntryNo && nScrPos<nMax; i++) in GetScrPos()
205 nScrPos += nAdd; in GetScrPos()
216 nScrPos = nMax - nScrPos - 2; in GetScrPos()
218 return nScrPos; in GetScrPos()
500 long nScrPos=nInitScrPos; in Paint() local
504 aScrPos = Point( 0, nScrPos ); in Paint()
506 aScrPos = Point( nScrPos, 0 ); in Paint()
510 nScrPos = nPEnd + nLayoutSign; // beyond nPEnd -> stop in Paint()
521 else if ((nScrPos+nSizePix*nLayoutSign)*nLayoutSign >= nPStart*nLayoutSign) in Paint()
594 nScrPos += nSizePix * nLayoutSign; // also if before the visible area in Paint()
598 while ( nScrPos * nLayoutSign <= nPEnd * nLayoutSign ); in Paint()
614 long nScrPos; in GetMousePos() local
624 nScrPos = GetScrPos( nPos ) - nLayoutSign; in GetMousePos()
632 nScrPos = nEndPos + nLayoutSign; in GetMousePos()
634 nScrPos += GetEntrySize( nEntryNo - 1 ) * nLayoutSign; //! GetHiddenCount() ?? in GetMousePos()
636 nDif = nMousePos - nScrPos; in GetMousePos()
646 while ( nScrPos * nLayoutSign < nEndPos * nLayoutSign && nDif * nLayoutSign > 0 ); in GetMousePos()
774 long nScrPos = GetScrPos( nDragNo ); in MouseButtonUp() local
777 long nNewWidth = bLayoutRTL ? ( nScrPos - nMousePos + 1 ) in MouseButtonUp()
778 : ( nMousePos + 2 - nScrPos ); in MouseButtonUp()
944 long nScrPos = GetScrPos( nDragNo ); in ShowDragHelp() local
946 long nVal = bLayoutRTL ? ( nScrPos - nDragPos + 1 ) in ShowDragHelp()
947 : ( nDragPos + 2 - nScrPos ); in ShowDragHelp()