CLoginPreferences

Back to Classes Page

Parent Class: CPropertyPage

Resource ID: IDD_LOGIN_PREFERENCES_TAB

This class represents 1 Property Page (Tab) object inside CPreferences Property Sheet.

Field Summary

Access Data Type Name
protected bool bDirty
public BOOL m_bAutoLogin
public BOOL m_bRememberLogin
public CMessengerClientDoc * m_pParent
public CString m_strPassword
public CString m_strUserName

Constructor Summary

CLoginPreferences()

Destructor Summary

~CLoginPreferences()

Method Summary

BOOL OnApply()
protected: void OnAutoLogin()
protected: void OnChangePassword()
protected: void OnChangeUsername()
protected: void OnRememberLogin()

Field Detail

bDirty
Flag variable to indicate whether any field on this form is changed. Set to false on startup. Becomes true when anything is changed on the form.

m_bAutoLogin
Background variable for "Automatically Login" check box. TRUE when the box is checked.

m_bRememberLogin
Background variable for "Remember My ID and Password" check box. TRUE when the box is checked.

m_pParent
Pointer to the Document object.

m_strPassword
Password for the user. This variable is non-blank only when Remember My ID and Password check box was checked earlier and login-password info was saved.

m_strUserName
User ID for the user. This variable is non-blank only when Remember My ID and Password check box was checked earlier and login-password info was saved.

Constructor Detail

CLoginPreferences()
Sets bDirty to false.

Destructor Detail

~CLoginPreferences()
Default destructor. Does nothing more.

Method Detail

OnApply()


OnAutoLogin()


OnChangePassword()


OnChangeUserName()


OnRememberLogin()


Back to Classes Page