#pragma once


class CMultiSnapDlg : public CDialog
{
	DECLARE_DYNAMIC(CMultiSnapDlg)

public:
	CMultiSnapDlg(CWnd* pParent = NULL);
	virtual ~CMultiSnapDlg();
	enum { IDD = IDD_MULTISNAP_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);
	DECLARE_MESSAGE_MAP()
	virtual void OnCancel();

protected:
	typedef struct {
		bool	save;
		CString	filepath;
		bool	draw;
		int		framesum;
		int		framecnt;
	} _DIALOG_DATA;
	_DIALOG_DATA m_data;

public:
	void SetCamInfo(bool save, CString filepath, int framesum, int framecnt, bool draw);
	void GetCamInfo(bool& save, CString& filepath, int& framesum);
	void Refresh();
	void Refresh(int process);
	virtual BOOL OnInitDialog();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
};
