This dialog is shown when User receives Add Friend Request from another user.
Field Summary |
||
Access | Data Type | Name |
public | CMessagePacket * | m_pMsg |
public | CMessengerClientDoc * | m_pParent |
public | CString | m_strFriendMsg |
Constructor Summary |
||
CAcceptAndAddDlg(CWnd* pParent /*=NULL*/) | ||
CAcceptAndAddDlg(CMessengerClientDoc *pDoc, CWnd* pParent /*= NULL*/) |
Destructor Summary |
||
~CAcceptAndAddDlg() |
Method Summary |
||
protected: void | OnCancel() | |
protected: BOOL | OnJustAccept() | |
protected: void | OnOK() |
Field Detail |
m_pMsg
A Message Packet object. Used to send answer to Add Friend request.
m_pParent
Pointer to the Document object.
m_strFriendMsg
Background variable for the dialog. Contains the message sent in the Add Friend request.
Constructor Detail |
CAcceptAndAddDlg(CWnd* pParent /*=NULL*/)
Default constructor. Never use this constructor.
CAcceptAndAddDlg(CMessengerClientDoc *pDoc, CWnd* pParent /*= NULL*/)
Points m_pParent to the Document object. Creates a new Message Packet.
Destructor Detail |
~CAcceptAndAddDlg()
Deletes the Message Packet created during construction.
Method Detail |
All methods in this dialog do nothing but return different values to the creator object, Speak Window. They inform the Speak Window about which button is clicked.