Partager via


CHtmlEditCtrlBase::SetAutoURLDetectMode

Turns automatic URL detection on and off.

HRESULT SetAutoURLDetectMode( 
   bool bNewValue  
) const;

Parameters

  • bNewValue
    If true, automatic URL detection is enabled.

Return Value

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

Remarks

This method sends the IDM_AUTOURLDETECT_MODE command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class