CODTextCompPP Class
class CODTextCompPP: public CPropertyPage
Component name/type property pageDefined in: OdTextCompPP.h
Class Members
CODTextCompPP Constructor.
CODTextCompPP Destructor.
OD_TEXTPPDATA* m_pInitData
CODTextCompPP Initialization data.
Property page resource ID.
CString m_strText
Text value.
BOOL m_bMultiLine
Multi-line text flag.
BOOL m_bWordBreak
Word break flag.
BOOL m_bHorzLeft
Horizontal left alignment flag.
BOOL m_bHorzCenter
Horizontal center alignment flag.
BOOL m_bHorzRight
Horizontal right alignment flag.
BOOL m_bVertTop
Vertical top alignment flag.
BOOL m_bVertCenter
Vertical center alignment flag.
BOOL m_bVertBottom
Vertical bottom alignment flag.
OD_TEXTPPDATA* m_pExitData
CODTextCompPP exit data (saved here after dialog window is closed).
void InitializePP(OD_TEXTPPDATA* pData)
Initializes property page with values passed in OD_FONTPPDATA structure.
void GetData(OD_TEXTPPDATA& changes)
Retrieves user selections in passed OD_TEXTPPDATA structure.
void ResetChgFlags()
Resets all property-changed flags.
virtual BOOL OnInitDialog()
Performs dialog data exchange.
virtual BOOL OnInitDialog()
Called on dialog initialization.
void EnableControls()
Enable or disable controls based on current data values.
afx_msg void OnDestroy()
Called on WM_DESTROY message.
afx_msg void OnKillFocus(CWnd* pNewWnd)
Called on WM_KILLFOCUS message.
afx_msg void OnTextChange()
Called when the text edit is changed.
afx_msg void OnMultiLineChanged()
Called when the multi-line flag is changed.
afx_msg void OnWordBreakChanged()
Called when the word break flag is changed.
afx_msg void OnHorzAlignClick()
Called when horizontal alignment buttons are clicked.
afx_msg void OnVertAlignClick()
Called when vertical alignment buttons are clicked.