stationinfodlg.h
来自「VC++6.0基于CAN协议的车辆控制」· C头文件 代码 · 共 61 行
H
61 行
#if !defined(AFX_STATIONINFODLG_H__43BBE672_1487_4AEF_8CBF_AD5C91ECC21D__INCLUDED_)
#define AFX_STATIONINFODLG_H__43BBE672_1487_4AEF_8CBF_AD5C91ECC21D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StationInfoDlg.h : header file
//
#include "ado.h"
#include "EditStationInfoDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CStationInfoDlg dialog
class CStationInfoDlg : public CDialog
{
// Construction
public:
CStationInfoDlg(CWnd* pParent = NULL); // standard constructor
//CAdoConnection m_adoConnection;
CAdoConnection m_pConnection;
// Dialog Data
//{{AFX_DATA(CStationInfoDlg)
enum { IDD = IDD_StationInfo_DIALOG };
CListCtrl m_StationInfoList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStationInfoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CString m_sStationNameEn,m_sStationNameCh,m_sLongitude,m_sLatitude,m_sAudioDescriptionEn,\
m_sAudioDescriptionCh,m_sEnglishWave,m_sChineseWave,m_sActive;
void ReadDataFromDB();
int IndexInFieldList;
char mDir_Path[256]; //程序路径
char mMDB_Path[256]; //数据库路径
int m_listPosSel; //列表是否有选中 >-1选中 ==-1未选中
// Generated message map functions
//{{AFX_MSG(CStationInfoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnAlterButton();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnAddStationButton();
afx_msg void OnDeleteStationButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STATIONINFODLG_H__43BBE672_1487_4AEF_8CBF_AD5C91ECC21D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?