次の方法で共有


CHtmlEditCtrlBase::TextArea

Overwrites a multiline text input control on the current selection.

HRESULT TextArea( 
   LPCTSTR szId = NULL  
) const;

Parameters

  • szId
    The ID of the multiline text input control.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class