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


PROP_PAGE

Use this macro to enter a property page CLSID into the object's property map.

PROP_PAGE( 
      clsid  
)

Параметры

  • clsid
    [in] The CLSID of a property page.

Заметки

PROP_PAGE is similar to PROP_ENTRY, but does not require a property description or DISPID.

ПримечаниеПримечание.

If you have already entered a CLSID with PROP_ENTRY or PROP_ENTRY_EX, you do not need to make an additional entry with PROP_PAGE.

The BEGIN_PROP_MAP macro marks the beginning of the property map; the END_PROP_MAP macro marks the end.

Пример

BEGIN_PROP_MAP(CMyCtrl)
   OtherPropMapEntries
   PROP_PAGE(CLSID_DatePage)
   PROP_PAGE(CLSID_StockColorPage)
END_PROP_MAP()

Требования

Header: atlcom.h

См. также

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

Property Map Macros

ATL Macros