BCGSoft Professional Editor for MFC
BOOL CBCGPEditCtrl::IsLineNumbersMarginVisible ( ) const

Determine whether the line margin is visible or not

Nonzero if the line number margin is visible; otherwise 0.

Use this function to determine whether the line number margin is visible or not. You can show or hide the line numbers margin using SetLineNumbersMargin().