Is it possible to change the "record" word that come up automatically from CGXRecordInfoBeam class? I would like to put something else such as "line".

Yes, you might call

   GetRecordInfoWnd()->GetBeam()->m_strRecord = "line";

in your OnInitialUpdate routine.