CODEditCompPP Class

class CODEditCompPP: public CPropertyPage

Generates a component edit properties property page.

Defined in: OdEditCompPP.h

Class Members

VIEWS_API CODEditCompPP(OD_EDITPPDATA* pInitData=NULL)

CODEditCompPP constructor

VIEWS_API ~CODEditCompPP()

CODEditCompPP destructor

OD_EDITPPDATA* m_pInitData

CODEditCompPP initialization data structure.

enum

Property page resource ID.

BOOL m_bAllowMove

Allow moves (current selection).

BOOL m_bAllowPropChg

Allow property changes (current selection).

BOOL m_bReadOnly

Read-only mode (current selection).

BOOL m_bAllowRotate

Allow rotation (current selection).

BOOL m_bAllowScale

Allow scale (current selection).

BOOL m_bAllowSelect

Allow select (current selection).

BOOL m_bAllowStretch

Allow stretch (current selection).

BOOL m_bAllowVertexEdit

Allow vertex editing (current selection).

BOOL m_bAllowContainment

Allow containment (current selection).

VIEWS_API void InitializePP(OD_EDITPPDATA* pData)

Initializes property page based on data contained in passed OD_EDITPPDATA structure.

VIEWS_API void GetData(OD_EDITPPDATA& changes)

Returns user property selections (see OD_EDITPPDATA for more information).

VIEWS_API void ResetChgFlags()

Resets the property page changed flags (generally called after an Apply-Now operation).

VIEWS_API void Disable3State(int nID)

Disables 3-State mode in a button control.

VIEWS_API virtual BOOL OnInitDialog()

Performs dialog data exchange.

OD_EDITPPDATA* m_pExitData

CODEditCompPP exit data (saved here after dialog window is closed).

BOOL m_bPropChgChanged

Indicates if allow-property-change field has been changed by user.

BOOL m_bReadOnlyChanged

Indicates if read-only field has been changed by user.

BOOL m_bMoveChanged

Indicates if allow-move field has been changed by user.

BOOL m_bRotateChanged

Indicates if allow-rotate field has been changed by user.

BOOL m_bScaleChanged

Indicates if allow-scale field has been changed by user.

BOOL m_bSelectChanged

Indicates if allow-selection field has been changed by user.

BOOL m_bStretchChanged

Indicates if allow-stretch field has been changed by user.

BOOL m_bVertexEditChanged

Indicates if allow-vertex-editing field has been changed by user.

BOOL m_bContainmentChanged

Indicates if allow-containment field has been changed by user.

VIEWS_API afx_msg void OnMoveBtn()

Called when allow-move button is clicked.

VIEWS_API afx_msg void OnPropChgBtn()

Called when allow-property-change button is clicked.

VIEWS_API afx_msg void OnReadOnlyBtn()

Called when read-only button is clicked.

VIEWS_API afx_msg void OnRotateBtn()

Called when allow-rotate button is clicked.

VIEWS_API afx_msg void OnScaleBtn()

Called when allow-scale button is clicked.

VIEWS_API afx_msg void OnSelectBtn()

Called when allow-selection button is clicked.

VIEWS_API afx_msg void OnStretchBtn()

Called when allow-stretch button is clicked.

VIEWS_API afx_msg void OnVertexEditBtn()

Called when allow-vertex-editing button is clicked.

VIEWS_API afx_msg void OnContainmentBtn()

Called when allow-containment button is clicked.

VIEWS_API afx_msg void OnDestroy()

Called when window is destroyed.