CHtmlEditCtrlBase::SetOverwriteMode

Toggles the text-entry mode between insert and overwrite.

HRESULT SetOverwriteMode( 
   bool bMode  
) const;

Parameters

  • bMode
    If true, text-entry mode is overwrite; if false, text-entry mode is insert.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

This method sends the IDM OVERWRITE command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class