1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #if !defined(AFX_RANGE_SELECTOR_H__BF9974E6_D43D_447D_8BC5_625620BDBD8F__INCLUDED_)
19 #define AFX_RANGE_SELECTOR_H__BF9974E6_D43D_447D_8BC5_625620BDBD8F__INCLUDED_
23 #endif // _MSC_VER > 1000
24 // range_selector.h : header file
27 /////////////////////////////////////////////////////////////////////////////
28 // CRangeSelector dialog
30 class CRangeSelector
: public CDialog
34 CRangeSelector(const CString
&lowerBound
, const CString
&upperBound
, class CEditableRange
*er
, CWnd
* pParent
= NULL
); // standard constructor
37 const CString
&getUpperBound(void) const { return m_UpperBound
; }
38 const CString
&getLowerBound(void) const { return m_LowerBound
; }
41 //{{AFX_DATA(CRangeSelector)
42 enum { IDD
= IDD_SELECT_RANGE
};
43 CEdit m_UpperBoundCtrl
;
44 CEdit m_LowerBoundCtrl
;
51 // ClassWizard generated virtual function overrides
52 //{{AFX_VIRTUAL(CRangeSelector)
54 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
59 class CEditableRange
*_EditableRange
;
61 // Generated message map functions
62 //{{AFX_MSG(CRangeSelector)
64 afx_msg
void OnSetfocusLowerBound();
65 afx_msg
void OnSetfocusUpperBound();
66 virtual BOOL
OnInitDialog();
71 //{{AFX_INSERT_LOCATION}}
72 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
74 #endif // !defined(AFX_RANGE_SELECTOR_H__BF9974E6_D43D_447D_8BC5_625620BDBD8F__INCLUDED_)