SRGInteriorEdit Class

class SRGInteriorEdit: public CPropertyPage

One of the property pages of Chart Explorer's editing dialog
Allows the user to change the interior appearance of the data objects in the graph

Defined in: CPropPg.h

Class Members

int m_nInteriorStyle

Current interior style

SRGInteriorEdit()

Constructor

 ~SRGInteriorEdit()

Destructor

CComboBox m_InteriorStyle

List of available interior styles

SRSwatchButton m_ColorB

Displays and selects the final color for shades (vignettes)

SRSwatchButton m_ColorA

Displays and selects a solid color or the initial color for shades

double m_dAngle

Rotation angle for angled shades

CString m_strResourceName

Resource file name or resource image fills

CString m_strObjectName

Object name

BOOL m_bStretch

Check to stretch an resource image to fill the area, clear to tile

virtual BOOL  OnKillActive()

When leaving page, set current style from combo box selection

virtual BOOL  OnSetActive()

When entering page, set combo box selection from current style

afx_msg void  OnIdcButton3()

Handles Choose Color 1 button click -- displays color selection dialog

afx_msg void  OnIdcButton4()

Handles Choose Color 2 button click -- displays color selection dialog

afx_msg void  OnIdcButton1()

Handles Color 1 swatch button click -- displays color selection dialog

afx_msg void  OnIdcButton2()

Handles Color 2 swatch button click -- displays color selection dialog