forked from gopa810/gcal-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FrameLocs.h
75 lines (68 loc) · 2.32 KB
/
FrameLocs.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
68
69
70
71
72
73
74
75
// FrameLocs.h: interface for the CFrameLocs class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FRAMELOCS_H__926915CD_B003_4FD1_9C23_090C817DA439__INCLUDED_)
#define AFX_FRAMELOCS_H__926915CD_B003_4FD1_9C23_090C817DA439__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "FrameBase.h"
#include "Location.h"
#include "LocsTabCtrl.h"
#include <afxhtml.h>
class CFrameLocs : public CFrameBase
{
public:
void ShowControlsForTab(int nTab);
unsigned short int GetCountrySelected();
void AddLocationStr(CLocation *L, int locIdx);
void InitCityByCountry(int nCode);
void SetCountrySelected(int nCode);
void InitCountries();
CFont m_fontMnu;
//CListBox m_wndList;
CListCtrl m_wndLocs;
// CListCtrl m_wndCtrs;
//CLocsTabCtrl m_wndTab;
CComboBox m_wndCountry;
CButton m_wndBtn[16];
CEdit m_wndSearch;
//CMyWebView * p_wndWeb;
CFrameLocs();
virtual ~CFrameLocs();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFrameLocs)
protected:
virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
protected:
// Generated message map functions
//{{AFX_MSG(CFrameLocs)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
afx_msg void OnLocationCreatelocation();
afx_msg void OnUpdateLocationCreatelocation(CCmdUI* pCmdUI);
afx_msg void OnLocationDeletelocation();
afx_msg void OnUpdateLocationDeletelocation(CCmdUI* pCmdUI);
afx_msg void OnLocationEditlocation();
afx_msg void OnUpdateLocationEditlocation(CCmdUI* pCmdUI);
afx_msg void OnListImport();
afx_msg void OnUpdateListImport(CCmdUI* pCmdUI);
afx_msg void OnListReset();
afx_msg void OnGoogleShowlocation();
afx_msg void OnFileExportlist();
afx_msg void OnFileClosewindow();
afx_msg void OnUpdateGoogleShowlocation(CCmdUI* pCmdUI);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnCountryAddcountry();
afx_msg void OnCountryRenamecountry();
afx_msg void OnHelpHelp();
afx_msg void OnUpdateHelpHelp(CCmdUI* pCmdUI);
afx_msg void OnHelpHelptopicthiswindow();
afx_msg void OnUpdateHelpHelptopicthiswindow(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // !defined(AFX_FRAMELOCS_H__926915CD_B003_4FD1_9C23_090C817DA439__INCLUDED_)