CODGeneralCompPP Class

class CODGeneralCompPP: public CPropertyPage

Component general properties property page

Defined in: OdGeneralCompPP.h

Class Members

 CODGeneralCompPP(OD_GENERALPPDATA* pInitData=NULL)

CODGeneralCompPP Constructor.

 ~CODGeneralCompPP()

CODGeneralCompPP Destructor.

OD_GENERALPPDATA* m_pInitData

CODGeneralCompPP initialization data.

 enum

Property page resource ID.

CString m_strName

Currently selected component name.

virtual BOOL  OnInitDialog()

Performs dialog data exchange.

virtual BOOL  OnInitDialog()

Called on dialog initialization.

void  InitializePP(OD_GENERALPPDATA* pData)

Initializes property page with values passed in  OD_GENERALPPDATA structure.

void  GetData(OD_GENERALPPDATA& changes)

Retrieves user selections in passed  OD_GENERALPPDATA structure.

void  ResetChgFlags()

Resets all property-changed flags.

OD_GENERALPPDATA* m_pExitData

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

CEdit m_wndName

Name edit box.

sfl::SECWellButton m_wndTranspClr

Bitmap transparency color well button.

BOOL m_bTransparent

Bitmap transparency flag (selected).

COLORREF m_clrTransparent

Bitmap transparency color (selected).

BOOL m_bNameChanged

Indicates if name has been changed by user.

BOOL m_bTranspChanged

Indicates if bitmap transparency has been changed by the user.

BOOL m_bTranspClrChanged

Indicates if the bitmap transparency color has been changed by the user.

afx_msg void  OnNameChange()

Called when user changes name in name textbox.

afx_msg void  OnTranspChanged()

Called when user changes bitmap transparency.

afx_msg void  OnDestroy()

Called when user changes bitmap transparency color.

afx_msg void  OnDestroy()

Called on window destroy.