CRegisterDlg

Back to Classes Page

Parent Class: CDialog

Resource ID: IDD_REGISTER_DIALOG

This dialog is created and shown when User clicks the "Register with Chatter-jee" button on the Chatter-jee Login Dialog.

Field Summary

Access Data Type Name
public CMessagePacket m_MsgPacket
public CString m_Password
public CString m_Password2
public CMessengerClientDoc * m_pParent
public CString m_UserName

Constructor Summary

CRegisterDlg(CWnd* pParent /*=NULL*/)
CRegisterDlg(CMessengerClientDoc *pDoc, CWnd* pParent /*= NULL*/)

Destructor Summary

No destructor specified. Default destructor.

Method Summary

int IsPasswordValid(CString password, CString password2 /* = NULL*/)
protected: void OnCancel()
protected: void OnOK()

Field Detail

m_MsgPacket
A Message Packet type of object, used to send Registration Request to the Chatter-jee Server.

m_Password
Password entered by the user, background variable for the dialog.

m_Password2
Password entered second time by the user, background variable for the dialog.

m_pParent
Pointer to the Document object.

m_UserName
User ID selected by the person registering.

Constructor Detail

CRegisterDlg(CWnd* pParent /*=NULL*/)
Default constructor. Never use this constructor.

CRegisterDlg(CMessengerClientDoc *pDoc, CWnd* pParent /*= NULL*/)
Points m_pParent to the Document object.

Destructor Detail

Method Detail

IsPasswordValid(CString password, CString password2 /* = NULL*/)
This method is identical to the method with the same signature in Change Password Dialog.
Determines whether the password entered by the user is valid. The conditions for password validity are as follows:


OnCancel()
Closes the dialog.


OnOK()


Back to Classes Page