GetOverStrike 

Syntax:             BOOL GetOverStrike ();

Return Value:    TRUE if SQL pane editor of  ELS-QB Component is in OverStrike mode, otherwise FALSE.

Remarks:

Call this method to obtain the  overstrike state of  ELS-QB Component’s SQL pane editor.

Note: In the overstrike mode, text insertions overwrite any characters to the right of the caret.

Example:

This sample code shows how to use GetOverStrike () method to updatecontents of some display field, showing the Overstrike state of SQL Editorpane of  ELS-QB Control.

void CELS_QBDemoView::OnShowOVRIndicator(CCmdUI* pCmdUI)

{

CString str = (m_QBCtrl.GetOverStrike()) ? _T("OVR") : _T("");

pCmdUI->SetText(str);

}