-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPreview.h
More file actions
38 lines (31 loc) · 728 Bytes
/
Preview.h
File metadata and controls
38 lines (31 loc) · 728 Bytes
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
#pragma once
#include "resource.h"
#include "stdafx.h"
// Preview 대화 상자입니다.
class Preview : public CDialogEx
{
DECLARE_DYNAMIC(Preview)
private:
CWnd *mp_parent_wnd;
public:
void SetParentWindow(CWnd *parm_parent_wnd);
CPoint movepoint;
CPoint pre_point;
CRect R_Rect;
CImage p_image;
double p_wid;
double p_hei;
Preview(CWnd* pParent = NULL); // 표준 생성자입니다.
virtual ~Preview();
// 대화 상자 데이터입니다.
enum { IDD = IDD_DIALOG1 };
private:
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnPaint();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
virtual void OnOK();
virtual void OnCancel();
};