SRGObjStyle Class
class SRGObjStyle: public CPropertyPage
One of the property pages of Chart Explorer's editing dialogAllows the user to change the appearance of the data objects in the graph
Defined in: CPropPg.h
Class Members
BOOL m_bIsList
TRUE if the user selected a data list from the tree, FALSE if data item was selected
int m_nFrameStyle
Current frame style
int m_nObjectStyle
Current object style
SRGObjStyle()
Constructor
Destructor
CComboBox m_FrameStyle
List of available frame styles
CComboBox m_ObjectStyle
List of available object styles
SRSwatchButton m_FrameColor
Displays and selects color for the frame
int m_nFrameWidth
Pen width used to draw the frame
BOOL m_bApplyToList
Check to have setting apply to all data objects in the list (group)
BOOL m_bUseMaxSize
Check to enable maximum size parameters
double m_dMaxWidth
Maximum width for object
double m_dMaxHeight
Maximum height for object
double m_dMaxDepth
Maximum depth for object
virtual BOOL OnKillActive()
When leaving page, set current types from combo box selections
virtual BOOL OnSetActive()
When entering page, set combo box selections from current types
afx_msg void OnIdcButton1()
Handles color swatch button click -- displays color selection dialog
afx_msg void OnIdcButton2()
Handles Choose Color button click -- displays color selection dialog
afx_msg void OnIdcCheck2()
Handles change in Use Max Dimensions check box