CODEditCompPP Class

class CODEditCompPP: public CPropertyPage

Generates a component edit properties property page.

Defined in: OdEditCompPP.h

Class Members

 CODEditCompPP(OD_EDITPPDATA* pInitData=NULL)

CODEditCompPP constructor

 ~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).

void  InitializePP(OD_EDITPPDATA* pData)

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

void  GetData(OD_EDITPPDATA& changes)

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

void  ResetChgFlags()

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

void  Disable3State(int nID)

Disables 3-State mode in a button control.

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.

afx_msg void  OnMoveBtn()

Called when allow-move button is clicked.

afx_msg void  OnPropChgBtn()

Called when allow-property-change button is clicked.

afx_msg void  OnReadOnlyBtn()

Called when read-only button is clicked.

afx_msg void  OnRotateBtn()

Called when allow-rotate button is clicked.

afx_msg void  OnScaleBtn()

Called when allow-scale button is clicked.

afx_msg void  OnSelectBtn()

Called when allow-selection button is clicked.

afx_msg void  OnStretchBtn()

Called when allow-stretch button is clicked.

afx_msg void  OnVertexEditBtn()

Called when allow-vertex-editing button is clicked.

afx_msg void  OnContainmentBtn()

Called when allow-containment button is clicked.

afx_msg void  OnDestroy()

Called when window is destroyed.