BCGSuite for MFC
BOOL CBCGPEditCtrl::IsLineNumbersMarginVisible ( ) const
inline

Determine whether the line margin is visible or not

Returns
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().