Share via


DECLARE_PROPPAGEIDS

 

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

Syntax

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

MFC Macros and Globals
BEGIN_PROPPAGEIDS
END_PROPPAGEIDS