CDeleteFriendsDlg

Back to Classes Page

Parent Class: CDialog

Resource ID: IDD_DELETE_FRIENDS_DIALOG

This dialog is shown when User clicks Tools-Friends List-Delete Friend(s) from menu.

Field Summary

Access Data Type Name
public CListCtrl m_lstDelFriends
public CListCtrl m_lstFriends
public CMessagePacket * m_pMsg
public CMessengerClientDoc * m_pParent

Constructor Summary

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

Destructor Summary

No destructor specified. Default destructor.

Method Summary

protected: void CopyFriendsTreeToList(CTreeCtrl& m_OriginalFriendsList, HTREEITEM root)
protected: BOOL OnInitDialog()
protected: void OnLeft()
protected: void OnOK()
protected: void OnRight()
protected: int TransferNames(CListCtrl& lstFrom, CListCtrl& lstTo)

Field Detail

m_lstDelFriends
Background variable for the List Control containing the names of all the friends selected for detetion by this user.

m_lstFriends
Background variable for the List Control containing the names of all the friends for this user.

m_pMsg
Message Packet pointer. Not used anywhere. Redundent var.

m_pParent
Pointer to the Document object.

Constructor Detail

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

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

Destructor Detail

Method Detail

CopyFriendsTreeToList(CTreeCtrl& m_OriginalFriendsList, HTREEITEM root)


OnInitDialog()


Back to Classes Page