#if !defined(AFX_PICTURESETUPDLG_H__51AC9557_CA06_495C_AA83_035D4A97D474__INCLUDED_)
#define AFX_PICTURESETUPDLG_H__51AC9557_CA06_495C_AA83_035D4A97D474__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
// PictureSetupDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPictureSetupDlg dialog
class CPictureElement;
#include <AplGuiEx.h>

class CPictureSetupDlg : public CaplTranslateDialog
{
// Construction
public:
	bool TestUpdate();
	bool UpdateDlg();
	CPictureSetupDlg(CWnd* pParent = NULL);   // standard constructor
	CPictureElement* m_elem;

// Dialog Data
	//{{AFX_DATA(CPictureSetupDlg)
	enum { IDD = IDD_PICTURE_SETUP_DLG };
	CaplStaticImage	m_ImageCtrl;
	CString	m_path_name;
	CString m_pic_id;
	BOOL	m_save_proport;
	int		m_height;
	int		m_width;
	BOOL	m_fit_to_rect;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPictureSetupDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPictureSetupDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBrowseFile();
	afx_msg void OnSave();
	afx_msg void OnFitToRect();
	virtual void OnOK();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PICTURESETUPDLG_H__51AC9557_CA06_495C_AA83_035D4A97D474__INCLUDED_)
