⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test2dlg.h

📁 VC++ 6.0开发。之中打印部分可能对您有值得参考的地方。其他的部分还不是很完善
💻 H
字号:
// test2Dlg.h : header file
//
#include "ado.h"
#if !defined(AFX_TEST2DLG_H__07B2C89B_F06C_4D1C_B661_5D8B9F42BA65__INCLUDED_)
#define AFX_TEST2DLG_H__07B2C89B_F06C_4D1C_B661_5D8B9F42BA65__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTest2Dlg dialog

class CTest2Dlg : public CDialog
{
// Construction
public:
	CDC m_DC;
	HDC m_hDC;
	CFont m_fontPrint;
//	void DoClearPrintDC();
//	void DoPrint(int);
//	BOOL DoPreparePrintDC();
	BOOL UpdateRecord(BOOL bLoad = TRUE);
	CTest2Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTest2Dlg)
	enum { IDD = IDD_TEST2_DIALOG };
	float	m_XSYJ;
	CString	m_XM;
	CString	m_SFZ;
	CString	m_JSR;
	CString	m_DH;
	CString	m_BZ;
	long	m_lPosition;
	int	m_iBottom;
	int	m_iLeft;
	int	m_iRight;
	int	m_iTop;
	CString	m_strOther;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTest2Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CString m_CC;
	HICON m_hIcon;
	CAdoConnection m_adoConnection;
	CAdoRecordSet  m_adoRecordSet;
	CString m_strPathName;

	// Generated message map functions
	//{{AFX_MSG(CTest2Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonDel();
	afx_msg void OnButtonUpdate();
	afx_msg void OnButtonCancelupdate();
	afx_msg void OnButtonSearch();
	afx_msg void OnButtonPrint();
	afx_msg void OnButtonRefresh();
	afx_msg void OnButtonLast();
	afx_msg void OnButtonNext();
	afx_msg void OnButtonPrev();
	afx_msg void OnButtonFirst();
	afx_msg void OnButtonLlwg();
	afx_msg void OnButtonBbXsyj();
	afx_msg void OnButtonBbHyda();
	afx_msg void OnKillfocusEditJsr();
	virtual void OnOK();
	afx_msg void OnPass();
	afx_msg void OnSort();
	afx_msg void OnFind();
	afx_msg void OnFindnext();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEST2DLG_H__07B2C89B_F06C_4D1C_B661_5D8B9F42BA65__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -