CSnapInItemImpl Class
This class provides methods for implementing a snap-in node object.
Important
|
|---|
|
This class and its members cannot be used in applications that execute in the Windows Runtime. |
template < class T, BOOL bIsExtension= FALSE > class ATL_NO_VTABLE CSnapInItemImpl : public CSnapInItem
|
Name |
Description |
|---|---|
|
Adds menu items to a context menu. |
|
|
Called by the console when a custom menu item is selected. |
|
|
Adds pages to the property sheet of the snap-in. |
|
|
Copies information on the snap-in object into a specified stream. |
|
|
Retrieves the RESULTDATAITEM structure of the snap-in. |
|
|
Determines the type of view used by the result pane. |
|
|
Retrieves the SCOPEDATAITEM structure of the snap-in. |
|
|
Called by the console to notify the snap-in of actions taken by the user. |
|
|
Called to see if the snap-in node supports property pages. |
|
|
Modifies the menu insertion flags for a snap-in object. |
|
|
Sets the information of the specified toolbar button. |
|
|
Updates the state of a context menu item. |
|
|
Updates the state of the specified toolbar button. |
CSnapInItemImpl provides a basic implementation for a snap-in node object, such as adding menu items and toolbars, and forwarding commands for the snap-in node to the appropriate handler function. These features are implemented using several different interfaces and map types. The default implementation handles notifications sent to the node object by determining the correct instance of the derived class and then forwarding the message to the correct instance.
Important