funcremoveinfodlg.h

来自「VC++和ACCESS使用ADO连接」· C头文件 代码 · 共 76 行

H
76
字号
#if !defined(AFX_FUNCREMOVEINFODLG_H__3C90975B_A596_42F0_8CD7_EF13CCEEBA91__INCLUDED_)
#define AFX_FUNCREMOVEINFODLG_H__3C90975B_A596_42F0_8CD7_EF13CCEEBA91__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// FuncRemoveInfoDlg dialog

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

// Dialog Data
	//{{AFX_DATA(FuncRemoveInfoDlg)
	enum { IDD = IDD_FUNC_REMOVE_INFOLIST };
	CButton	m_Check_ReM;
	CComboBox	m_Cmb_ReM_Depart;
	CComboBox	m_Cmb_ReM_Com;
	CEditableListCtrl	m_ListCtrl_Remove;
	//}}AFX_DATA


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

// Implementation
protected:
	CString m_ReM_strSQL;
	CString m_strReMExcelPath;
	CString m_strReMType;
	CString m_strReMCom;
	CString m_strReMDepart;

	BOOL DeleteAllRows();
	BOOL SetRow(int row, CString *strArray, int nCount);

	void MakeShowInfoStyle();
	void IDStateControl(BOOL bState);
	void InitCompCmB(CComboBox *pComp);
	BOOL InitDeptCmB(CComboBox *pDept);
	BOOL PrepareRemove(BOOL bMoreCon);
	void QueryRemoveInfo(void);
	void InitReMExcelPath(void);


	// Generated message map functions
	//{{AFX_MSG(FuncRemoveInfoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonRemoveQuery();
	afx_msg LRESULT OnListEditDBClick(WPARAM wParam, LPARAM lParam);
	afx_msg void OnClickListRemoveList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCheckRemoveCondition();
	afx_msg void OnSelchangeComboRemoveCompany();
	afx_msg void OnBtnRemovePath();
	afx_msg void OnBtnRemoveExcel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

extern BOOL g_bOutNotRemove;

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

#endif // !defined(AFX_FUNCREMOVEINFODLG_H__3C90975B_A596_42F0_8CD7_EF13CCEEBA91__INCLUDED_)

⌨️ 快捷键说明

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