www.pudn.com > eMule0.42e-Sources.zip > CommentDialogLst.h
#pragma once
#include "ResizableLib/ResizablePage.h"
class CPartFile;
///////////////////////////////////////////////////////////////////////////////
// CCommentDialogLst
class CCommentDialogLst : public CResizablePage
{
DECLARE_DYNAMIC(CCommentDialogLst)
public:
CCommentDialogLst();
virtual ~CCommentDialogLst();
void SetMyfile(/*const*/ CPartFile* file) {m_file=file;}
// Dialog Data
enum { IDD = IDD_COMMENTLST };
protected:
CString m_strCaption;
CListCtrl pmyListCtrl;
/*const*/ CPartFile* m_file;
void Localize();
void CompleteList();
virtual BOOL OnInitDialog();
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
afx_msg void OnBnClickedApply();
afx_msg void OnBnClickedRefresh();
afx_msg void OnNMDblclkLst(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
};