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

📄 pdtresultdetail.h

📁 使用vc进行数据库编程的好例子
💻 H
字号:
#if !defined(AFX_PDTRESULTDETAIL_H__85957887_3818_4DF3_A0FE_4E92ACFF8520__INCLUDED_)
#define AFX_PDTRESULTDETAIL_H__85957887_3818_4DF3_A0FE_4E92ACFF8520__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PdtResultDetail.h : header file
//
#include "DIBStatic.h"
#include "ShadeButtonST.h"

#define WM_CHANGEDIALOG				WM_USER+5
#define WM_DELETEFROMDETAIL			WM_USER+7
#define WM_MODIFIRECORDE			WM_USER+8
#define WM_RECORDE_MOVE				WM_USER+13
/////////////////////////////////////////////////////////////////////////////
// CPdtResultDetail dialog

class CPdtResultDetail : public CDialog
{
// Construction
public:
	CString strPicAddr;
	void ModifyFromSimple(bool bNew);
	bool bNextEnable;
	bool bPreveEnable;
	int  m_nSetNum;
	void EmptyEdit();
	void MackEditReadOnly(bool bReadOnly);
	CPdtResultDetail(CWnd* pParent = NULL);   // standard constructor
	DECLARE_DYNCREATE(CPdtResultDetail)
// Dialog Data
	//{{AFX_DATA(CPdtResultDetail)
	enum { IDD = IDD_P_RESULT_DETAIL };
	CComboBox	m_cmbClassName;
	CEdit	m_ctrPicAddr;
	CButton	m_btnOpenFile;
	CShadeButtonST	m_btnPPreve;
	CShadeButtonST	m_btnPNext;
	CShadeButtonST	m_btnPLast;
	CShadeButtonST	m_btnPFirst;
	CEdit	m_ctrSpecification;
	CEdit	m_ctrTelephone;
	CEdit	m_ctrResume;
	CEdit	m_ctrProvide;
	CEdit	m_ctrProduce;
	CEdit	m_ctrPrice;
	CDIBStatic	m_ctrPicture;
	CEdit	m_ctrName;
	CEdit	m_ctrLinkMan;
	CEdit	m_ctrCompany;
	CEdit	m_ctrAmount;
	CEdit	m_ctrAddr;
	CButtonST	m_btnShowSimp;
	CShadeButtonST	m_btnModify;
	CShadeButtonST	m_btnDelete;
	CShadeButtonST	m_btnCancel;
	CShadeButtonST	m_btnAdd;
	CString	m_Addr;
	CString	m_Amount;
	CString	m_Company;
	CString	m_LinkMan;
	CString	m_Name;
	CString	m_Price;
	CString	m_Produce;
	CString	m_Provide;
	CString	m_Resume;
	CString	m_Specification;
	CString	m_Telephone;
	CString	m_strPicAddr;
	//}}AFX_DATA


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

// Implementation
protected:
	void AutoSize();

	// Generated message map functions
	//{{AFX_MSG(CPdtResultDetail)
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnShowsimp();
	afx_msg void OnDelete();
	afx_msg void OnModifiRecode();
	afx_msg void OnAddnewp();
	afx_msg void OnCancel1();
	virtual BOOL OnInitDialog();
	afx_msg void OnPfirst();
	afx_msg void OnPpreve();
	afx_msg void OnPnext();
	afx_msg void OnPlast();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnOpenfile();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PDTRESULTDETAIL_H__85957887_3818_4DF3_A0FE_4E92ACFF8520__INCLUDED_)

⌨️ 快捷键说明

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