#if !defined(AFX_TABLEPROPDLG_H__8C508DDE_614F_4F1C_A5CF_3F39167CBCA8__INCLUDED_)
#define AFX_TABLEPROPDLG_H__8C508DDE_614F_4F1C_A5CF_3F39167CBCA8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TablePropDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTablePropDlg dialog
#include <apl_gui.h>

class CTableElement;

class CTablePropDlg : public CaplTranslateDialog
{
// Construction
public:
	bool TestUpdate();
	int mode;
	bool UpdateDlg();
	CTableElement* m_table;
	LOGFONT m_lf;
	CTablePropDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CTablePropDlg)
	enum { IDD = IDD_TABLE_PROP };
	CaplButton	m_sec_add_copy;
	CaplButton	m_down;
	CaplButton	m_up;
	CListCtrl	m_section_list;
	CaplButton	m_sec_prop;
	CaplButton	m_sec_del;
	CaplButton	m_sec_add;
	CString	m_table_name;
	int		m_font_size;
	CString	m_font_name;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTablePropDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSectionAdd();
	afx_msg void OnSectionDel();
	afx_msg void OnSetionProp();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnFontBrowse();
	afx_msg void OnSectionUp();
	afx_msg void OnSetionDown();
	afx_msg void OnItemdblclickSections(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSectionAddCopy();
	afx_msg void OnDblclkSections(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TABLEPROPDLG_H__8C508DDE_614F_4F1C_A5CF_3F39167CBCA8__INCLUDED_)
