📄 dmessage.h
字号:
#if !defined(AFX_DMESSAGE_H__E7394592_5E04_11D8_8750_5254AB32C8FB__INCLUDED_)
#define AFX_DMESSAGE_H__E7394592_5E04_11D8_8750_5254AB32C8FB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DMessage.h : header file
//
#include "DBSlider.h"
#include "RecordEditBox.h"
#include "RecordComboBox.h"
#include "RainFunction.h" // Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CDMessage dialog
class CDMessage : public CDialog
{
// Construction
public:
CRainFunction function;
_RecordsetPtr rst;
void Display();
void Enabled(bool bstyle);
int Clime(int Number);
void ClearForm();
CDMessage(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDMessage)
enum { IDD = IDD_DIAMessage };
CRecordComboBox m_ComDuty;
CRecordComboBox m_ComUnit;
CDBSlider m_Slider;
CRecordEditBox m_EdtPhone;
CRecordEditBox m_EdtName;
CRecordEditBox m_EdtCard;
CRecordEditBox m_EdtID;
CRecordEditBox m_EdtAddr;
CRecordComboBox m_ComTown;
CComboBox m_ComSex;
CRecordComboBox m_ComProvince;
CRecordComboBox m_ComCity;
CButton m_ButUndo;
CButton m_ButSave;
CButton m_ButExit;
CButton m_ButDele;
CButton m_ButChange;
CButton m_ButAdd;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDMessage)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDMessage)
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnButadd();
afx_msg void OnKillfocusCOMUnit();
afx_msg void OnKillfocusCOMProvince();
afx_msg void OnKillfocusCOMCity();
afx_msg void OnBUTChange();
afx_msg void OnButdelete();
afx_msg void OnBUTSave();
afx_msg void OnBUTUnDo();
afx_msg void OnButexit();
afx_msg void OnReleasedcaptureSlider(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString sID,sName,sUnit,sTown,sDuty,sSex,sPhone,sAddr,sIDCard;
bool AddOrChange;
bool OK;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DMESSAGE_H__E7394592_5E04_11D8_8750_5254AB32C8FB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -