-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFilePreView.h
More file actions
41 lines (32 loc) · 1.03 KB
/
FilePreView.h
File metadata and controls
41 lines (32 loc) · 1.03 KB
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
#pragma once
// CFilePreView view
class CFilePrevDialog;
class CTaskListDialog;
class CFilePreView : public CView
{
DECLARE_DYNCREATE(CFilePreView)
protected:
CFilePreView(); // protected constructor used by dynamic creation
virtual ~CFilePreView();
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
#ifdef _DEBUG
virtual void AssertValid() const;
#ifndef _WIN32_WCE
virtual void Dump(CDumpContext& dc) const;
#endif
#endif
protected:
DECLARE_MESSAGE_MAP()
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
CTaskListDialog* GetTaskListDlg() {return m_pTaskListDlg;}
private:
// CFilePrevDialog* m_pFilePrevDlg;
CTaskListDialog* m_pTaskListDlg;
public:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
void Release();
};