Поделиться через


CSnapInItemImpl Class

This class provides methods for implementing a snap-in node object.

template <
   class T,
   BOOL bIsExtension = FALSE
>
class ATL_NO_VTABLE CSnapInItemImpl :
   public CSnapInItem

Параметры

  • T
    Your class, derived from CSnapInItemImpl.

  • bIsExtension
    TRUE if the object is a snap-in extension; otherwise FALSE.

Заметки

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.

Требования

Header: atlsnap.h

См. также

Основные понятия

CSnapInItemImpl Members

ATL Class Overview