Share via


BEGIN_SNAPINTOOLBARID_MAP

 

Declares the beginning of the toolbar ID map for the Snap-In object.

Syntax

BEGIN_SNAPINTOOLBARID_MAP( _class )

Parameters

  • _class
    [in] Specifies the Snap-In object class.

Example

class CMySnapinData : 
   public CSnapInItemImpl<CMySnapinData>,
   public CMySnapinBase
{
public:
   CMySnapinData() {}

   BEGIN_SNAPINTOOLBARID_MAP(CMySnapinData)
      // IDR_MYSNAPINTOOLBAR is the resource ID of a toolbar resource.
      SNAPINTOOLBARID_ENTRY(IDR_MYSNAPINTOOLBAR)
   END_SNAPINTOOLBARID_MAP()
};

Requirements

Header: atlsnap.h

See Also

Snap-In Object Macros
ATL Macros
END_SNAPINTOOLBARID_MAP
SNAPINTOOLBARID_ENTRY