CHtmlEditCtrlBase Class
Represents an HTML editing component.
template < class T > class CHtmlEditCtrlBase
Members
Public Methods
Name |
Description |
---|---|
Adds an entry to the glyph table, which specifies images to display for specific tags in design mode. |
|
Toggles the bold state of the selected text. |
|
Overwrites a button control on the current selection. |
|
Overwrites a check box control on the current selection. |
|
Clears the current selection. |
|
Copies the current selection to the clipboard. |
|
Copies the current selection to the clipboard and then deletes it. |
|
Deletes the current selection. |
|
Overwrites a drop-down selection control on the current selection. |
|
Removes all entries from the glyph table, which hides all images displayed for tags in design mode. |
|
Executes a command. |
|
Opens a font dialog box to enable the user to change the text color, font, and font size of the current selection. |
|
Returns whether an element's position property is "absolute." |
|
Retrieves the background color of the current selection. |
|
Retrieves the current block format tag. |
|
Retrieves the strings corresponding to the available block format tags. |
|
Retrieves the name of a bookmark anchor. |
|
Retrieves the document object. |
|
Retrieves the HTML of the current document. |
|
Retrieves the document's title. |
|
Retrieves an interface pointer to the event object that contains information relevant to the most recent event. |
|
Retrieves the object that fired the event. |
|
Retrieves the font name for the current selection. |
|
Retrieves the font size for the current selection. |
|
Retrieves the foreground (text) color of the current selection. |
|
Returns the security zone of the current page in the web browser. |
|
Indicates whether the HTML document has changed. |
|
Returns whether a glyph is displayed for all elements that have a styleFloat property. |
|
Returns whether the WebBrowser displays glyphs to show the location of all tags in a document. |
|
Retrieves whether the WebBrowser displays a glyph for area tags. |
|
Retrieves whether the WebBrowser displays a glyph for br tags. |
|
Retrieves whether the WebBrowser displays a glyph for comment tags. |
|
Retrieves whether the WebBrowser displays all the tags shown in Microsoft Internet Explorer 4.0. |
|
Retrieves whether the WebBrowser displays a glyph for all the script tags. |
|
Retrieves whether the WebBrowser displays a glyph for all the style tags. |
|
Retrieves whether the WebBrowser displays a glyph for all unknown tags. |
|
Overwrites a horizontal line on the current selection. |
|
Inserts a hyperlink on the current selection. |
|
Performs a paste operation compatible with Microsoft Internet Explorer 5. |
|
Overwrites an inline frame on the current selection. |
|
Overwrites an image on the current selection. |
|
Increases the indent of the selected text by one indentation increment. |
|
Overwrites a box on the current selection. |
|
Overwrites a button control on the current selection. |
|
Inserts a hidden control on the current selection. |
|
Overwrites an image control on the current selection. |
|
Overwrites a password control on the current selection. |
|
Overwrites a reset control on the current selection. |
|
Overwrites a submit control on the current selection. |
|
Overwrites a file upload control on the current selection. |
|
Determines if an element is statically positioned. |
|
Determines if an element is absolutely positioned. |
|
Toggles the current selection between italic and nonitalic. |
|
Centers the format block in which the current selection is located. |
|
Left-justifies the format block in which the current selection is located. |
|
Right-justifies the format block in which the current selection is located. |
|
Overwrites a list box selection control on the current selection. |
|
Overwrites an empty marquee on the current selection. |
|
Creates a new document. |
|
Toggles the current selection between an ordered list and a normal format block. |
|
Decreases by one increment the indentation of the format block in which the current selection is located. |
|
Overwrites a line break on the current selection. |
|
Overwrites the contents of the clipboard on the current selection. |
|
Prints the current document. |
|
Opens the Print Preview window for the current document using either the default print preview template or a custom template. |
|
Call this method to query the status of commands. |
|
Overwrites a radio control on the current selection. |
|
Refreshes the current document. |
|
Removes the formatting tags from the current selection. |
|
Saves the current Web page to a file. |
|
Selects the entire document. |
|
Allows absolutely positioned elements to be moved by dragging. |
|
Sets an element's position property to "absolute" or "static." |
|
Set atomic selection mode. |
|
Turns automatic URL detection on and off. |
|
Sets the background color of the current selection. |
|
Sets the current block format tag. |
|
Creates a bookmark anchor for the current selection or insertion point. |
|
Selects which CSS level (CSS1 or CSS2) the editor will support, if any. |
|
Call this method to set the default compose settings. |
|
Set design mode. |
|
Disables the hatched border and handles around an element that has edit focus. |
|
Sets the HTML of the current document. |
|
Sets the font for the current selection. |
|
Sets the font size for the current selection. |
|
Sets the foreground (text) color of the current selection. |
|
Sets the paste operation to be compatible with Microsoft Internet Explorer 5. |
|
Causes the WebBrowser to update an element's appearance continuously during a resizing or moving operation. |
|
Enables multiple selection. |
|
Commands the WebBrowser never to change the mouse pointer. |
|
Toggles the text-entry mode between insert and overwrite. |
|
Hides invisible elements in design mode. |
|
Displays a glyph for all elements that have a styleFloat property. |
|
Displays glyphs to show the location of all tags in a document. |
|
Displays a glyph for all the area tags. |
|
Displays a glyph for all the br tags. |
|
Displays a glyph for all the comment tags. |
|
Displays all the tags shown in Microsoft Internet Explorer 4.0. |
|
Displays a glyph for all the script tags. |
|
Displays a glyph for all the style tags. |
|
Displays a glyph for all the unknown tags. |
|
Overwrites a multiline text input control on the current selection. |
|
Overwrites a text control on the current selection. |
|
Removes any bookmark from the current selection. |
|
Toggles the current selection between underlined and not underlined. |
|
Removes any hyperlink from the current selection. |
|
Toggles the current selection between an ordered list and a normal format block. |
Parameters
- T
The name of the derived class.
Remarks
CHtmlEditCtrlBase provides member functions for the WebBrowser's HTML editing commands, such as Bold. (Alternately, you can call ExecCommand to execute the IDM_BOLD command.)
CHtmlEditCtrlBase is not intended to stand on its own. It is designed to be a base class for derived classes that expose the HTML editing functionality of the WebBrowser (see CHtmlEditCtrl and CHtmlEditView).
Inheritance Hierarchy
CHtmlEditCtrlBase
Requirements
Header: afxhtml.h