This dialog is shown when User clicks Tools-Friends List-Add a Friend from menu or clicks the
Add Friend Button on the toolbar.
Field Summary |
||
Access | Data Type | Name |
public | CMessengerClientDoc * | m_pParent |
public | CString | m_strFriendID |
public | CString | m_strMessage |
Constructor Summary |
||
CAddAFriend(CWnd* pParent /*=NULL*/) | ||
CAddAFriend(CMessengerClientDoc *pDoc, CWnd* pParent /*= NULL*/) |
Destructor Summary |
Method Summary |
||
protected: BOOL | OnInitDialog() | |
protected: void | OnOK() |
Field Detail |
m_pParent
Pointer to the Document object.
m_strFriendID
The User whom Add Friend request is to be sent to.
m_strMessage
Message to be sent to the user along with Add Friend Request.
Constructor Detail |
CAddAFriend(CWnd* pParent /*=NULL*/)
Default constructor. Never use this constructor.
CAddAFriend(CMessengerClientDoc *pDoc, CWnd* pParent /*= NULL*/)
Points m_pParent to the Document object.
Destructor Detail |
Method Detail |
OnInitDialog()
Puts the focus on Friend's ID field.