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

📄 detailquerydlg.h

📁 < Visual C+++SQL Server数据库开发与实例>>一书中的实例核心源程序提供了几个案例的编程源代码。
💻 H
字号:
#if !defined(AFX_DETAILQUERYDLG_H__63D7AB85_813D_4358_9D82_D0FD328962A9__INCLUDED_)
#define AFX_DETAILQUERYDLG_H__63D7AB85_813D_4358_9D82_D0FD328962A9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DetailQueryDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDetailQueryDlg dialog

class CDetailQueryDlg : public CDialog
{
// Construction
public:
	CDetailQueryDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDetailQueryDlg)
	enum { IDD = IDD_DIALOG_QUERY_DETAIL };
	CComboBox	m_comboApproach;
	CComboBox	m_comboArea;
	CComboBox	m_comboProfession;
	CComboBox	m_comboVocation;
	CListCtrl	m_listHR;
	//}}AFX_DATA

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDetailQueryDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnCloseupComboApproach();
	afx_msg void OnCloseupComboArea();
	afx_msg void OnCloseupComboProfession();
	afx_msg void OnCloseupComboVocation();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	//初始化四个组合框控件中的数据
	void InitComboData();
	//向客户信息列表控件中添加数据
	void InsertHRInfoItem(int id,CString name,CString area,CString prof,CString voc,CString com,CString appr,CString email,CString phone,CString mobile,CString interest,CString memo);
	//刷新客户信息列表控件中的数据
	void RefreshCtrlData(CString sql);
};

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

#endif // !defined(AFX_DETAILQUERYDLG_H__63D7AB85_813D_4358_9D82_D0FD328962A9__INCLUDED_)

⌨️ 快捷键说明

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