📄 mestang.h
字号:
// MESTang.h : main header file for the MESTANG application
//
#if !defined(AFX_MESTANG_H__7E8DB642_3715_4A29_9A82_E779046D8E75__INCLUDED_)
#define AFX_MESTANG_H__7E8DB642_3715_4A29_9A82_E779046D8E75__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include <afxmt.h>
#include "OracleLib\_p.h"
#include "OracleLib\oralib.h"
#include "OracleLib\_p.h"
using namespace oralib;
using namespace std;
//#define WM_SEVER_CLIENT_OPC_MSG WM_APP+0x500 //
#define UNIQE_NAME "{1AB792D6-EEF2-4528-9A84-91356811E7A5}"//定义唯一的,以免冲突
#define ra_MSG "{D48CA923-4925-41cb-8F56-ABAAAFCEF787}"
/////////////////////////////////////////////////////////////////////////////
// CMESTangApp:
// See MESTang.cpp for the implementation of this class
//
class CMESTangApp : public CWinApp
{
public:
CMESTangApp();
connection cn;
int FLAG;
CString message_str;
CString comm_message;
// [8/1/2007]
//----waiting for thread end-------
MUL_EVENT *m_event;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMESTangApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
protected:
HMENU m_hMDIMenu;
HACCEL m_hMDIAccel;
HMENU m_hMenu;
bool m_candisconnect,m_canconnect;
HANDLE m_hOneInstance;
CBitmap m_bmp1,m_bmp2,m_bmp3,m_bmp4;
public:
void Update_List();
void MsgDel();
void Msg(CString str);
BOOL open_mes();
//{{AFX_MSG(CMESTangApp)
afx_msg void OnAppAbout();
afx_msg void OnFileNew();
afx_msg void OnSysDisconnect();
afx_msg void OnUpdateSysDisconnect(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void Update_Plan_List();
};
extern CMESTangApp theApp;
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MESTANG_H__7E8DB642_3715_4A29_9A82_E779046D8E75__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -