Export (0) Print
Expand All
ATL
Expand Minimize

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_TYPE, but does not require a property description or DISPID.

NoteNote

If you have already entered a CLSID with PROP_ENTRY_TYPE or PROP_ENTRY_TYPE_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

Community Additions

ADD
Show:
© 2014 Microsoft