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

📄 systemdlg.h

📁 实现了将图像目录保存在数据库中
💻 H
字号:
// SystemDlg.h : header file
//
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES

#if !defined(AFX_SYSTEMDLG_H__7A24FEBB_C218_4BD7_A294_EFCB2942F9C8__INCLUDED_)
#define AFX_SYSTEMDLG_H__7A24FEBB_C218_4BD7_A294_EFCB2942F9C8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CSystemDlg dialog
extern CSystemApp theApp;

class CSystemDlg : public CDialog
{
// Construction
public:
	void AddSomeTextToData(CString strx, CString strz);
	void OnOK();
	void TextFromDataToWindow(CString str);
	void Destroypicture();
	BOOL ShowJpgGif(CDC *pDC, char *pBuffer, int size, int x, int y);
	BOOL LoadImgFile(const char *pFileName);
	void RefreshShow();
	bool IsRepeated(CString str);
	CSystemDlg(CWnd* pParent = NULL);	// standard constructor
	CString pathname;
	DWORD    m_nFileLen;
	char   * m_pImgBuffer;
	CString  str1;
	_RecordsetPtr temp12;
	CString TextPathName;
	int nWidth,nHeight;
    int dx,dy;
    int dx1,dy1;




// Dialog Data
	//{{AFX_DATA(CSystemDlg)
	enum { IDD = IDD_SYSTEM_DIALOG };
	CProgressCtrl	m_progress;
	CButton	m_bpre;
	CButton	m_research;
	CButton	m_button21;
	CButton	m_button5;
	CButton	m_button4;
	CButton	m_button3;
	CButton	m_button2;
	CButton	m_button1;
	CStatic	m_ShowInformation;
	CStatic	m_Show;
	CEdit	m_Bold;
	CEdit	m_Baddress;
	CEdit	m_Bname;
	CEdit	m_Bnumber;
	CDataGrid	DBgrid;
	CString	m_number;
	CString	m_name;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSystemDlg)
	public:
	virtual BOOL DestroyWindow();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	HCURSOR m_cursor;

	// Generated message map functions
	//{{AFX_MSG(CSystemDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnClickDatagrid();
	afx_msg void OnBtnExit();
	afx_msg void OnButtonAddInfo();
	afx_msg void OnBtnModify();
	afx_msg void OnBtnDel();
	afx_msg void OnBtntodisk();
	afx_msg void OnBtnAddOnePicture();
	afx_msg void OnBtnRearch();
	afx_msg void OnBtnReportSorted();
	afx_msg void OnBtnReportToDatabase();
	afx_msg void OnBtnPre();
	afx_msg void OnBrnNext();
	afx_msg void OnBtnTextToData();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnBtnStopTrans();
	afx_msg void OnBtnOnePictureTran();
	afx_msg void OnTimer(UINT nIDEvent);
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SYSTEMDLG_H__7A24FEBB_C218_4BD7_A294_EFCB2942F9C8__INCLUDED_)

⌨️ 快捷键说明

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