Determines the topmost visible line.
Call this function to determine the topmost visible line in this CBCGPEditCtrl object.