Share via


CHtmlEditCtrlBase::Underline

Toggles the current selection between underlined and not underlined.

HRESULT Underline( ) const;

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase::Bold

CHtmlEditCtrlBase::Italic