void CLineNumberEdit::PreSubclassWindow() { // Unfortunately, we can't change to ES_MULTILINE // during run-time. ASSERT( GetStyle() & ES_MULTILINE ); // Creating the line number control SetLineNumberFormat( m_format ); }
void CLineNumberEdit::PreSubclassWindow() /* ============================================================ Function : CLineNumberEdit::PreSubclassWindow Description : This function is called before the control is subclassed for a control on a dialog template, and during creation for dynamically created controls. Return : void Parameters : none Usage : Called from MFC ============================================================*/ { // Unfortunately, we can't change to ES_MULTILINE // during run-time. ASSERT( GetStyle() & ES_MULTILINE ); // Creating the line number control SetLineNumberFormat( m_format ); }