Condividi tramite


DECLARE_PROPPAGEIDS

Declares that the OLE control provides a list of property pages to display its properties.

DECLARE_PROPPAGEIDS(class_name )

Parameters

  • class_name
    The name of the control class that owns the property pages.

Remarks

Use the DECLARE_PROPPAGEIDS macro at the end of your class declaration. Then, in the .cpp file that defines the member functions for the class, use the BEGIN_PROPPAGEIDS macro, macro entries for each of your control's property pages, and the END_PROPPAGEIDS macro to declare the end of the property page list.

For more information on property pages, see the article ActiveX Controls: Property Pages.

Requirements

Header: afxctl.h

See Also

Reference

BEGIN_PROPPAGEIDS

END_PROPPAGEIDS

Concepts

MFC Macros and Globals