Lines Matching refs:pBox
340 BrowseBox *pBox = GetParent(); in CreateBrowseEvent() local
345 : rPosPixel.Y() / pBox->GetDataRowHeight(); in CreateBrowseEvent()
346 long nRow = nRelRow < 0 ? -1 : nRelRow + pBox->nTopRow; in CreateBrowseEvent()
353 nCol < pBox->pCols->Count() && nColX < GetSizePixel().Width(); in CreateBrowseEvent()
355 if ( pBox->pCols->GetObject(nCol)->IsFrozen() || nCol >= pBox->nFirstCol ) in CreateBrowseEvent()
357 nColX += pBox->pCols->GetObject(nCol)->Width(); in CreateBrowseEvent()
362 if ( nCol < pBox->pCols->Count() ) in CreateBrowseEvent()
363 nColId = pBox->pCols->GetObject(nCol)->GetId(); in CreateBrowseEvent()
367 if ( nCol < pBox->pCols->Count() ) in CreateBrowseEvent()
369 nColX -= pBox->pCols->GetObject(nCol)->Width(); in CreateBrowseEvent()
371 Point( nColX, nRelRow * pBox->GetDataRowHeight() ), in CreateBrowseEvent()
372 Size( pBox->pCols->GetObject(nCol)->Width(), in CreateBrowseEvent()
373 pBox->GetDataRowHeight() ) ); in CreateBrowseEvent()
415 BrowseBox *pBox = GetParent(); in Command() local
419 ( HandleScrollCommand( rEvt, &pBox->aHScroll, pBox->pVScroll ) ) ) in Command()
423 long nRow = pBox->GetRowAtYPosPixel( aEventPos.Y(), sal_False); in Command()
426 nRow < pBox->GetRowCount() && !pBox->IsRowSelected(nRow) ) in Command()