-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMainFrm.h
82 lines (64 loc) · 1.91 KB
/
MainFrm.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
76
77
78
79
80
81
82
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__1AD07C2D_D534_4B2A_A63C_FACE7390D292__INCLUDED_)
#define AFX_MAINFRM_H__1AD07C2D_D534_4B2A_A63C_FACE7390D292__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "CommandDlg.h"
#include "MyCommDoc.h"
#include "ProtocolEditDlg.h"
#include "SendFileByXModem.h"
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
Language m_language;
CStatusBar m_wndStatusBar;
BOOL m_IsNewVertxt;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void ActivateFrame(int nCmdShow = -1);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
BOOL DonwLoadFile(PSTR pURL, LPSTR SaveAsFilePath);
void ShowMessage(CString strMsg);
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
BOOL m_firstShow;
//thread
HANDLE hThread;
DWORD ThreadID;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnClose();
afx_msg void OnEditCommand();
afx_msg void OnEditProtocol();
afx_msg void OnHelpScript();
afx_msg void OnAppSnedmail();
afx_msg void OnAppUpgrade();
afx_msg void OnAppHome();
afx_msg void OnSendFile();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__1AD07C2D_D534_4B2A_A63C_FACE7390D292__INCLUDED_)