You could override GetRowCount like this:
ROWCOL CDaoQueryView::GetRowCount() { return CGXRecordWnd::GetRowCount() + GetGridRect().Height() / GetDefaultRowHeight() }