2001-12-18 20:56:45 +03:00
|
|
|
#if !defined(AFX_DLGEDITPREFSTR_H__EA62EAF1_9CF9_474F_AC2E_7AE66DCAF863__INCLUDED_)
|
|
|
|
#define AFX_DLGEDITPREFSTR_H__EA62EAF1_9CF9_474F_AC2E_7AE66DCAF863__INCLUDED_
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
#pragma once
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
// DlgEditPrefStr.h : header file
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "resource.h"
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CDlgEditPrefStr dialog
|
|
|
|
|
|
|
|
class CDlgEditPrefStr : public CDialog
|
|
|
|
{
|
|
|
|
// Construction
|
|
|
|
public:
|
|
|
|
CString m_strSelectedChoice;
|
|
|
|
CString* m_pstrChoices;
|
|
|
|
CString m_strType;
|
|
|
|
CString m_strTitle;
|
|
|
|
CDlgEditPrefStr(CWnd* pParent = NULL); // standard constructor
|
|
|
|
BOOL m_bChoose;
|
2002-02-15 01:31:23 +03:00
|
|
|
CString m_strDefault;
|
2001-12-18 20:56:45 +03:00
|
|
|
|
|
|
|
// Dialog Data
|
|
|
|
//{{AFX_DATA(CDlgEditPrefStr)
|
|
|
|
enum { IDD = IDD_EDITPREF };
|
|
|
|
CComboBox m_listValue;
|
|
|
|
CButton m_checkValue;
|
2002-01-25 00:08:29 +03:00
|
|
|
CButton m_checkLocked;
|
2002-02-15 01:31:23 +03:00
|
|
|
CButton m_checkRemoteAdmin;
|
2001-12-18 20:56:45 +03:00
|
|
|
CEdit m_editValue;
|
|
|
|
CString m_strDescription;
|
|
|
|
CString m_strPrefName;
|
|
|
|
CString m_strValue;
|
|
|
|
BOOL m_bLocked;
|
|
|
|
BOOL m_bValue;
|
2002-02-15 01:31:23 +03:00
|
|
|
BOOL m_bRemoteAdmin;
|
2002-01-30 06:21:40 +03:00
|
|
|
BOOL m_bLockable;
|
2001-12-18 20:56:45 +03:00
|
|
|
//}}AFX_DATA
|
|
|
|
|
|
|
|
|
|
|
|
// Overrides
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
|
|
//{{AFX_VIRTUAL(CDlgEditPrefStr)
|
|
|
|
protected:
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
protected:
|
|
|
|
|
|
|
|
// Generated message map functions
|
|
|
|
//{{AFX_MSG(CDlgEditPrefStr)
|
|
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
virtual void OnOK();
|
2002-02-15 01:31:23 +03:00
|
|
|
afx_msg void OnResetDefault();
|
2002-03-21 01:11:19 +03:00
|
|
|
afx_msg void OnRemoteAdmin();
|
2001-12-18 20:56:45 +03:00
|
|
|
//}}AFX_MSG
|
2002-03-21 01:11:19 +03:00
|
|
|
|
2001-12-18 20:56:45 +03:00
|
|
|
DECLARE_MESSAGE_MAP()
|
2002-01-25 00:08:29 +03:00
|
|
|
|
2001-12-18 20:56:45 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
|
|
|
|
#endif // !defined(AFX_DLGEDITPREFSTR_H__EA62EAF1_9CF9_474F_AC2E_7AE66DCAF863__INCLUDED_)
|