CODFillCompPP Class
class CODFillCompPP: public CPropertyPage
Generates a component fill property page.Defined in: OdFillCompPP.h
Class Members
CODFillCompPP(OD_FILLPPDATA* pInitData=NULL)
CODFillCompPP Constructor.
CODFillCompPP Destructor.
OD_FILLPPDATA* m_pInitData
CODFillCompPP initialization data.
Property page resource ID.
sfl::SECWellButton m_wndFGColor
Foreground color well button.
sfl::SECWellButton m_wndBGColor
Background color well button.
BOOL m_bTransparent
Current fill transparency value.
BOOL m_bBGTransparent
Current fill background transparency value.
int m_nHatch
Current fill hatch style.
int m_nHatchSel
Index of hatch listbox current selection.
CODHatchLB m_wndHatchLB
Hatch owner-draw listbox.
virtual BOOL OnInitDialog()
Performs dialog data exchange.
virtual BOOL OnInitDialog()
Called on dialog box initialization (i.e. on activation of property page).
void InitializePP(OD_FILLPPDATA* pData)
Initializes property page based on data contained in passed OD_FILLPPDATA structure.
void GetData(OD_FILLPPDATA& changes)
Returns user property selections (see OD_FILLPPDATA for more information).
void ResetChgFlags()
Resets the property page changed flags (generally called after an Apply-Now operation).
OD_FILLPPDATA* m_pExitData
CODFillCompPP exit data (saved here after dialog window is closed).
COLORREF m_clrFG
Current fill foreground color.
COLORREF m_clrBG
Current fill background color.
BOOL m_bFGColorChanged
Indicates if fill foreground color has been changed by user.
BOOL m_bBGColorChanged
Indicates if fill background color has been changed by user.
BOOL m_bHatchChanged
Indicates if fill hatch style has been changed by user.
BOOL m_bTranspChanged
Indicates if fill transparency has been changed by user.
BOOL m_bBGTranspChanged
Indicates if background fill transparency has been changed by user.
afx_msg LRESULT OnColorChange(WPARAM wParam, LPARAM lParam)
Called when user selects new foreground or background color.
afx_msg void OnTranspBtn()
Called when fill transparency has been selected/deselected.
afx_msg void OnTranspBGBtn()
Called when background fill transparency has been selected/deselected.
afx_msg void OnHatchSelect()
Called when user changes the current fill hatch style.
afx_msg void OnDestroy()
Called when dialog window is destroyed.