Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CHtmlEditCtrlBase::TextBox

Overwrites a text control on the current selection.

HRESULT TextBox( 
   LPCTSTR szId = NULL  
) const;

szId

The ID of the text control.

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

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

Header: afxhtml.h

Show:
© 2015 Microsoft