ATL
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.