1 #if !defined(AFX_PROPERTIES_H__13ABBD97_6862_4CDA_86ED_4863B4845A1B__INCLUDED_)
\r
2 #define AFX_PROPERTIES_H__13ABBD97_6862_4CDA_86ED_4863B4845A1B__INCLUDED_
\r
4 #include "PropertiesBasic.h" // Added by ClassView
\r
5 #include "PropertiesAdvanced.h" // Added by ClassView
\r
6 #include "PropertiesList.h" // Added by ClassView
\r
9 #endif // _MSC_VER > 1000
\r
11 enum TAB_NAME { BASIC_TAB = 1, ADVANCED_TAB = 2, LIST_TAB = 4, ACTIVE_TAB = 8 };
\r
13 // Properties.h : header file
\r
16 /////////////////////////////////////////////////////////////////////////////
\r
17 // CProperties dialog
\r
19 class CProperties : public CDialog
\r
23 CProperties(CWnd* pParent = NULL); // standard constructor
\r
26 //{{AFX_DATA(CProperties)
\r
27 enum { IDD = IDD_PROPERTIES };
\r
28 CEdit m_cWindowText;
\r
29 CEdit m_cKillRingMax;
\r
30 CButton m_cUseDialogSetting;
\r
31 CButton m_cSelectAll;
\r
32 CButton m_cClearAll;
\r
33 CButton m_cLoadDefault;
\r
34 CComboBox m_cApplication;
\r
35 int m_nSettingStyle;
\r
41 // ClassWizard generated virtual function overrides
\r
42 //{{AFX_VIRTUAL(CProperties)
\r
44 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
\r
49 BOOL IsEnableControl();
\r
50 CString GetCurrentApplication();
\r
51 int GetApplicationID();
\r
52 void EnableControl(TAB_NAME tab = BASIC_TAB);
\r
54 // Generated message map functions
\r
55 //{{AFX_MSG(CProperties)
\r
56 virtual BOOL OnInitDialog();
\r
57 afx_msg void OnDropdownApplication();
\r
58 afx_msg void OnSelchangeApplication();
\r
59 virtual void OnOK();
\r
60 virtual void OnCancel();
\r
61 afx_msg void OnApply();
\r
62 afx_msg void OnLoadDefault();
\r
63 afx_msg void OnSelectAll();
\r
64 afx_msg void OnClearAll();
\r
65 afx_msg void OnSettingDefault();
\r
66 afx_msg void OnSettingDisable();
\r
67 afx_msg void OnSettingSpecific();
\r
69 DECLARE_MESSAGE_MAP()
\r
71 int m_nApplicationID;
\r
72 CPropertiesList m_list;
\r
73 CPropertiesAdvanced m_advanced;
\r
74 CPropertiesBasic m_basic;
\r
75 CPropertySheet m_sheet;
\r
76 CString m_szCurrentApplication;
\r
77 void EnableLoadDefaultButton(BOOL bEnable);
\r
78 void EnableUseDefaultButton(BOOL bEnable);
\r
79 void EnableUseDialogSettingButton(BOOL bEnable);
\r
80 int GetCurrentApplicationID();
\r
81 void GetDialogData();
\r
82 void InitApplicationList();
\r
83 void SetDialogData(CString szApplicationName);
\r
84 void UpdateDialogData(CString szApplicationName, BOOL bSaveAndValidate = TRUE);
\r
87 //{{AFX_INSERT_LOCATION}}
\r
88 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
\r
90 #endif // !defined(AFX_PROPERTIES_H__13ABBD97_6862_4CDA_86ED_4863B4845A1B__INCLUDED_)
\r