CODCompPropSheet::CODCompPropSheet

Constructor.

Defined in: OdCompPropSheet.cpp

Syntax

CODCompPropSheet::Operation(CODComponentSet* pCompSet, CODViewport* pViewport, LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage);

CODCompPropSheet::Operation(CODComponentSet* pCompSet, CODViewport* pViewport, UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage);

Parameters

pCompSet

Component set containing all components to be modified.

pViewport

Viewport that owns this property sheet.

pszCaption

Points to the string containing caption to be used for the property sheet (cannot be NULL).

nIDCaption

Resource ID of the string containing caption to be used for the property sheet.

nPageFlags

Flags determining which pages/options will be offered to the user. Can be any one of the following:

OD_PROPPAGE_NAME

Show the component name property page.

OD_PROPPAGE_TEXT

Show the component text field in the name property page.

OD_PROPPAGE_TRANSPARENCY

Show the bitmap transparency field in the name property page.

OD_PROPPAGE_EDIT

Show the component edit properties property page.

OD_PROPPAGE_LABELS

Show the label orientation property page.

OD_PROPPAGE_LINE

Show the line properties property page.

OD_PROPPAGE_FILL

Show the fill properties property page.

OD_PROPPAGE_FONT

Show the font properties property page.

OD_PROPPAGE_ALL

Show all applicable property pages.

pParentWnd

Parent window of the property sheet (if NULL, the desktop will be the parent).

iSelectPage

Index of the page that will initially be displayed on top.