PROP_PAGE
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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

Show:
© 2016 Microsoft