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
6 #endif // _MSC_VER > 1000
\r
8 #include "propertiesbasic.h"
\r
9 #include "propertiesadvanced.h"
\r
10 #include "propertieslist.h"
\r
12 enum TAB_NAME { BASIC_TAB = 1, ADVANCED_TAB = 2, LIST_TAB = 4, ACTIVE_TAB = 8 };
\r
14 // Properties.h : header file
\r
17 /////////////////////////////////////////////////////////////////////////////
\r
18 // CProperties dialog
\r
20 class CProperties : public CDialog
\r
24 CProperties(CWnd* pParent = NULL); // standard constructor
\r
27 //{{AFX_DATA(CProperties)
\r
28 enum { IDD = IDD_PROPERTIES };
\r
29 CEdit m_cWindowText;
\r
30 CEdit m_cKillRingMax;
\r
31 CButton m_cUseDialogSetting;
\r
32 CButton m_cSelectAll;
\r
33 CButton m_cClearAll;
\r
34 CButton m_cLoadDefault;
\r
35 CComboBox m_cAppList;
\r
36 int m_nSettingStyle;
\r
42 // ClassWizard generated virtual function overrides
\r
43 //{{AFX_VIRTUAL(CProperties)
\r
45 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
\r
50 BOOL IsEnableControl();
\r
51 CString GetCurrentApplication();
\r
52 int GetApplicationID();
\r
53 void EnableControl(TAB_NAME tab = BASIC_TAB);
\r
54 void AddItem(const CString& appTitle, const CString& appName);
\r
56 // Generated message map functions
\r
57 //{{AFX_MSG(CProperties)
\r
58 virtual BOOL OnInitDialog();
\r
59 afx_msg void OnDropdownApplication();
\r
60 afx_msg void OnSelchangeApplication();
\r
61 virtual void OnOK();
\r
62 virtual void OnCancel();
\r
63 afx_msg void OnApply();
\r
64 afx_msg void OnLoadDefault();
\r
65 afx_msg void OnSelectAll();
\r
66 afx_msg void OnClearAll();
\r
67 afx_msg void OnSettingDefault();
\r
68 afx_msg void OnSettingDisable();
\r
69 afx_msg void OnSettingSpecific();
\r
71 DECLARE_MESSAGE_MAP()
\r
74 CPropertiesList m_list;
\r
75 CPropertiesAdvanced m_advanced;
\r
76 CPropertiesBasic m_basic;
\r
77 CPropertySheet m_sheet;
\r
80 void EnableLoadDefaultButton(BOOL bEnable);
\r
81 void EnableUseDefaultButton(BOOL bEnable);
\r
82 void EnableUseDialogSettingButton(BOOL bEnable);
\r
83 void GetDialogData();
\r
85 void SetDialogData();
\r
86 void GetAppTitleAndName(const int nSel, CString& appTitle, CString& appName);
\r
89 //{{AFX_INSERT_LOCATION}}
\r
90 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
\r
92 #endif // !defined(AFX_PROPERTIES_H__13ABBD97_6862_4CDA_86ED_4863B4845A1B__INCLUDED_)
\r