共用方式為


CHtmlEditCtrlBase::SetIE5PasteMode

Sets the paste operation to be compatible with Microsoft Internet Explorer 5.

HRESULT SetIE5PasteMode(
   bool bNewValue 
) const;

Parameters

  • bNewValue
    If true, all paste operations are compatible with Internet Explorer 5; if false, paste operations are compatible with Internet Explorer 5.5.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members

CHtmlEditCtrlBase::IE50Paste