forked from gopa810/gcal-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDlgEditLocation.h
68 lines (57 loc) · 1.57 KB
/
DlgEditLocation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#include "Location.h" // Added by ClassView
#pragma once
/////////////////////////////////////////////////////////////////////////////
// DlgEditLocation dialog
class DlgEditLocation : public CDialog
{
// Construction
public:
int m_nLastDst;
void LocationToDialog();
void UpdateDSTInfo();
BOOL m_bEdit;
CLocation * m_loc;
BOOL errLong;
BOOL errLati;
const char * lastLatiAnalyse;
const char * lastLongAnalyse;
DlgEditLocation(CWnd* pParent = NULL); // standard constructor
int UpdateDstByTimezone(double tzone);
// Dialog Data
//{{AFX_DATA(DlgEditLocation)
enum { IDD = IDD_CREATE_LOCATION };
CEdit cCity;
CComboBox cCountry;
CComboBox cDst;
CEdit cNote;
CEdit cLong;
CEdit cLat;
CEdit cDstInfo;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DlgEditLocation)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DlgEditLocation)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnChangeEdit5();
afx_msg void OnSelendokComboCountry();
afx_msg void OnSelendokComboDst();
afx_msg void OnEditchangeComboCountry();
afx_msg void OnSelendokCombo7();
afx_msg void OnDropdownComboDst();
afx_msg void OnChangeEdit1();
afx_msg void OnChangeEdit3();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.