CODLineCompPP Class

class CODLineCompPP: public CPropertyPage

Component line style property page.

Defined in: OdLineCompPP.h

Class Members

VIEWS_API CODLineCompPP(OD_LINEPPDATA* pInitData=NULL)

CODLineCompPP Constructor.

VIEWS_API ~CODLineCompPP()

CODLineCompPP Destructor.

OD_LINEPPDATA* m_pInitData

CODLineCompPP initialization data.

enum

Property page resource ID.

int m_nStyleSel

Current line style selection.

int m_nSizeSel

Current line size selection.

int m_bTransparent

Current transparency selection.

sfl::SECWellButton m_wndColor

Line color well button.

VIEWS_API void InitializePP(OD_LINEPPDATA* pData)

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

VIEWS_API void GetData(OD_LINEPPDATA& changes)

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

VIEWS_API void ResetChgFlags()

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

OD_LINEPPDATA* m_pExitData

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

CODLineStyleLB m_wndLineStyle

Line style owner-draw list box.

CODLineSizeLB m_wndLineSize

Line size owner-draw list box.

int m_nLineSize

Currently selected line size.

int m_nLineStyle

Currently selected line style.

COLORREF m_clrLine

Currently selected line color.

BOOL m_bColorChanged

Indicates if line color has been changed by user.

BOOL m_bStyleChanged

Indicates if line style has been changed by user.

BOOL m_bSizeChanged

Indicates if line size has been changed by user.

BOOL m_bTransparentChanged

Indicates if line transparency has been changed by user.

VIEWS_API virtual BOOL OnInitDialog()

Called on dialog initialization.

VIEWS_API afx_msg void OnStyleSelect()

Called on line style selection.

VIEWS_API afx_msg void OnSizeChange()

Called on line size change.

VIEWS_API afx_msg void OnTransparentChange()

Called on line size change.

VIEWS_API afx_msg void OnDestroy()

Called on window destroy.

VIEWS_DECLARE_MESSAGE_MAP()

Called when user selects new line color