www.pudn.com > ExMIS.rar > ExMISDlg.h, change:2011-05-23,size:2327b


// ExMISDlg.h : header file 
// 
 
#if !defined(AFX_EXMISDLG_H__37D226E8_8D80_4086_844B_732AACC68316__INCLUDED_) 
#define AFX_EXMISDLG_H__37D226E8_8D80_4086_844B_732AACC68316__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include<e:\com_PUB.hpp> 
#include "C:\Documents and Settings\Administrator\桌面\TPS1200\TPS1200_Tools\TPS1200_GeoCOM\dev\VC\com_pub.hpp"	// Added by ClassView 
 
 
#include "SetDlg.h" 
#include "MyRecordSet.h" 
///////////////////////////////////////////////////////////////////////////// 
// CExMISDlg dialog 
 
class CExMISDlg : public CDialog 
{ 
// Construction 
public:	 
 
	CExMISDlg(CWnd* pParent = NULL);	// standard constructor 
 
 
	 
  /*COM_BAUD_RATE m_nBaudRate; 
  COM_PORT     m_nComPort; 
  COM_FORMAT    m_nProtocol;*/ 
 
// Dialog Data 
	//{{AFX_DATA(CExMISDlg) 
	enum { IDD = IDD_EXMIS_DIALOG }; 
	 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CExMISDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	BOOL online; 
	COM_BAUD_RATE m_nBaudRate; 
    COM_PORT     m_nComPort; 
    COM_FORMAT    m_nProtocol; 
 
	_ConnectionPtr m_pConn;		//定义一个连接对象 
	_RecordsetPtr m_pRst;		//定义一个数据集 
 
 
  
 
protected: 
	//添加2.0 工具栏 
	CToolBarCtrl	m_ToolBar;		//添加的1 
	CImageList		m_ImageList;	//添加的 
 
	//添加2.1 一个新的菜单,在对话框中指向这个菜单。 
	//添加2.2 状态栏 
	CStatusBarCtrl m_StatusBar; 
 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CExMISDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnMenuitemCal(); 
	afx_msg void OnMenuitemData(); 
	afx_msg void OnMenuitemHelp(); 
	afx_msg void OnMenuitemNotepad(); 
	afx_msg void OnMenuitemQuit(); 
	afx_msg void OnMenuitemRelogin(); 
	afx_msg void OnMenuitemStat(); 
	afx_msg void OnMenuitemUser(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_EXMISDLG_H__37D226E8_8D80_4086_844B_732AACC68316__INCLUDED_)