CPreferences

Back to Classes Page

Parent Class: CPropertySheet

This class represents 1 Property Sheet object containing 2 Property Pages, represented by CColorFontsPreferences and CLoginPreferences.

Field Summary

Access Data Type Name
public CColorFontsPreferences m_ColorFontsPreferences
public CLoginPreferences m_LoginPreferences
public CMessengerClientDoc * m_pParent
public CPreferencesData m_Preferences

Constructor Summary

CPreferences(UINT nIDCaption, CMessengerClientDoc *pDoc, CWnd* pParentWnd, UINT iSelectPage)
CPreferences(LPCTSTR pszCaption, CMessengerClientDoc *pDoc, CWnd* pParentWnd, UINT iSelectPage)

Destructor Summary

~CPreferences()

Method Summary

protected:void AddMemberPages()
BOOL OnInitDialog()

Field Detail

m_ColorFontsPreferences
A Color and Fonts Preferences Property Sheet object. Contains controls to change preferred background color and font.

m_LoginPreferences
A Login Preferences Property Sheet object. Contains controls to save User ID-password and and option of auto-login on Chatter-jee startup.

m_pParent
Pointer to the Document object.

m_Preferences
Local copy of Application Preferences. At the start, it's an exact copy of the Global Preferences, until user makes changes in the property sheets.

Constructor Detail

CPreferences(UINT nIDCaption, CMessengerClientDoc *pDoc, CWnd* pParentWnd, UINT iSelectPage)

CPreferences(LPCTSTR pszCaption, CMessengerClientDoc *pDoc, CWnd* pParentWnd, UINT iSelectPage)

Destructor Detail

~CPreferences()
Default destructor. Does nothing more.

Method Detail

AddMemberPages()


OnInitDialog()


Back to Classes Page