detailquerydlg.h

来自「< Visual C+++SQL Server数据库开发与实例>&g」· C头文件 代码 · 共 62 行

H
62
字号
#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 + =
减小字号Ctrl + -
显示快捷键?