Is there anyway to get the number of lines that are visible in an MSHFlexgrid?

I need to go thru the data that is on the screen at present time and need to know the total number of visible lines.