-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPictureFileDlg.cpp
38 lines (29 loc) · 1.08 KB
/
PictureFileDlg.cpp
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
// PictureFileDlg.cpp : インプリメンテーション ファイル
//
#include "stdafx.h"
#include "picstand.h"
#include "PictureFileDlg.h"
#include "Global.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPictureFileDlg
IMPLEMENT_DYNAMIC(CPictureFileDlg, CFileDialog)
CPictureFileDlg::CPictureFileDlg(BOOL bOpenFileDialog, LPCTSTR lpszDefExt, LPCTSTR lpszFileName,
DWORD dwFlags, LPCTSTR lpszFilter, CWnd* pParentWnd) :
CFileDialog(bOpenFileDialog, lpszDefExt, lpszFileName, dwFlags, lpszFilter, pParentWnd)
{
}
CPictureFileDlg::CPictureFileDlg( LPCTSTR lpszFileName, CWnd* pParentWnd ):
CFileDialog( TRUE, NULL, lpszFileName, OFN_LONGNAMES | OFN_EXPLORER | OFN_ENABLESIZING | OFN_HIDEREADONLY,
"JPEG/BMP Files (*.jpg;*.bmp)|*.jpg;*.bmp|All Files|*.*||", pParentWnd )
{
}
BEGIN_MESSAGE_MAP(CPictureFileDlg, CFileDialog)
//{{AFX_MSG_MAP(CPictureFileDlg)
// メモ - ClassWizard はこの位置にマッピング用のマクロを追加または削除します。
//}}AFX_MSG_MAP
END_MESSAGE_MAP()