Compartir a través de


CCF_WINDOW_TITLE clipboard format

The CCF_WINDOW_TITLE clipboard format enables a snap-in to specify the string used to represent the snap-in's static node in the title bar of windows created programmatically using IConsole2::NewWindow(MMC_NW_OPTION_CUSTOMTITLE).

Data Format

WCHAR string. Return a string that contains the name to display for the snap-in's static node in the title bar of the window in which the snap-in appears.

Remarks

This clipboard format is optional. Be aware that the scope path from the root node of the window is displayed in the title bar. When a stand-alone snap-in's static node or one of its child items is selected in the scope pane, MMC calls the snap-in's IDataObject::GetDataHere method requesting the CCF_WINDOW_TITLE clipboard format to retrieve the name that the snap-in wants to use to represent its static node in the scope path in the title bar.

To specify the title bar name for the snap-in's static node, the snap-in must support this format in its IDataObject::GetDataHere implementation.

Requirements

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

See also

IS_SPECIAL_COOKIE