forked from irwir/eMule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CommentDialogLst.h
45 lines (34 loc) · 1.08 KB
/
CommentDialogLst.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#pragma once
#include "ResizableLib/ResizablePage.h"
#include "CommentListCtrl.h"
class CPartFile;
///////////////////////////////////////////////////////////////////////////////
// CCommentDialogLst
class CCommentDialogLst : public CResizablePage
{
DECLARE_DYNAMIC(CCommentDialogLst)
public:
CCommentDialogLst();
virtual ~CCommentDialogLst();
void SetFiles(const CSimpleArray<CObject*>* paFiles) { m_paFiles = paFiles; m_bDataChanged = true; }
// Dialog Data
enum { IDD = IDD_COMMENTLST };
protected:
CString m_strCaption;
CCommentListCtrl m_lstComments;
const CSimpleArray<CObject*>* m_paFiles;
bool m_bDataChanged;
uint32 m_timer;
void Localize();
void RefreshData(bool deleteOld = true);
virtual BOOL OnInitDialog();
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnSetActive();
DECLARE_MESSAGE_MAP()
afx_msg void OnBnClickedApply();
afx_msg void OnBnClickedSearchKad();
afx_msg void OnBnClickedFilter();
afx_msg LRESULT OnDataChanged(WPARAM, LPARAM);
afx_msg void OnDestroy();
afx_msg void OnTimer(UINT nIDEvent);
};