Compartir a través de


CCF_HTML_DETAILS clipboard format

For MMC 2.0 and later, the CCF_HTML_DETAILS clipboard format is provided by snap-ins using the Extended View extension. A node that supports this clipboard format can support HTML processing within the view. Specifically, the HTML can be used to add user interface elements to the view, and the script can use MMC 2.0 Automation Object Model.

Be aware that CCF_HTML_DETAILS is also the name of a property recognized by the Extended View extension. Instead of supporting CCF_HTML_DETAILS as a clipboard format, a snap-in can support the CCF_HTML_DETAILS property by implementing the INodeProperties interface.

If the Extended View is unable to retrieve the CCF_HTML_DETAILS property using the INodeProperties interface, then the Extended View will query for the CCF_HTML_DETAILS clipboard format using the HGLOBAL medium in a call to IDataObject::GetDataHere. If this medium is not supported, then the Extended View will query for the CCF_HTML_DETAILS clipboard format using the IStream medium in a call to IDataObject::GetDataHere.

Data Format

A string that represents the HTML text that is in effect for the view. The data must be plain text. For example, the following text results in text and a link that appears in the HTML details area.

"Display <A HREF = javascript:external.ExecuteSelectionMenuItem('_PROPERTIES')>Properties </A>"

The following displays what the user will see in the HTML details area (below the name of the selected node).

Display Properties

If the user clicks the Properties link, then the properties menu item will be executed for the selected item (be aware that the selected item must have a Properties menu item for this example to work). The external object in the script refers to the MMC 2.0 Automation Object Model view object.

Remarks

The HTML details area appears below the name of the selected node. If the CCF_DESCRIPTION property or clipboard format is supported, a description will appear below the HTML details area.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Mmc.h

See also

Using the Extended View Extension

CCF_DESCRIPTION