Share via


CHtmlEditCtrlBase::Font

Opens a font dialog box to enable the user to change the text color, font, and font size of the current selection.

HRESULT Font( ) const;

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class