-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBkdextDlg.h
More file actions
41 lines (33 loc) · 818 Bytes
/
BkdextDlg.h
File metadata and controls
41 lines (33 loc) · 818 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
39
40
41
#pragma once
#include "afxwin.h"
// Custom
#include "Convert.h"
#define clip(a) ((a)<0?0:((a)>255?255:(a)))
// CBkdextDlg 대화 상자입니다.
class CBkdextDlg : public CDialog
{
DECLARE_DYNAMIC(CBkdextDlg)
public:
CBkdextDlg(CWnd* pParent = NULL); // 표준 생성자입니다.
virtual ~CBkdextDlg();
// 대화 상자 데이터입니다.
enum { IDD = IDD_DIALOG_BKDEXT };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButtonOpen();
afx_msg void OnBnClickedButtonBkd();
CString PathName;
int width;
int height;
// Picture Control
CStatic Pic;
afx_msg void OnPaint();
LPBITMAPINFO BmpInfo;
HANDLE hloc;
LPBYTE RGBbuf;
int ShowFlag;
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
ColorSpaceConversions pCon;
};