dbasedlg.h

来自「物流综合管理系统」· C头文件 代码 · 共 73 行

H
73
字号
#if !defined(AFX_DBASEDLG_H__4354EF66_EFC4_4EB3_AA69_4038FCA02537__INCLUDED_)
#define AFX_DBASEDLG_H__4354EF66_EFC4_4EB3_AA69_4038FCA02537__INCLUDED_

#include "RxGrid.h"	
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DBaseDlg.h : header file
#include "RxStatic.h"
#include"BaseEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CDBaseDlg dialog

class CDBaseDlg : public CDialog
{
// Construction
public:
	int m_NumberStyle;
	CDBaseDlg(RxGrid* Grid,CString sIdentify, int nNumberStyle,CWnd* pParent = NULL);   // standard constructor
// Dialog Data
	//{{AFX_DATA(CDBaseDlg)
	enum { IDD = IDD_BASE };
	CButton	m_ButCommand[7];
	RxStatic	m_StaTitle;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDBaseDlg)
	virtual void OnOK();
	afx_msg void OnPaint();
	virtual BOOL OnInitDialog();
	afx_msg void OnButexit();
	afx_msg void OnButnew();
	afx_msg void OnButchange();
	afx_msg void OnButdele();
	afx_msg void OnButcopy();
	afx_msg void OnButsave();
	afx_msg void OnButundo();
	virtual void OnCancel();

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	CStatic* pSta;
	CBaseEdit* pEdt;
	RxGrid* m_pGrid;
private:
	CString m_Identify;
	void Display();
	void Clear();
	bool m_IsAdd;
	int m_ColCount;
	void Enabled(bool bEnabled);
	void MoveButton(int x,int y);
	CString m_DataBaseName;
};

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

#endif // !defined(AFX_DBASEDLG_H__4354EF66_EFC4_4EB3_AA69_4038FCA02537__INCLUDED_)

⌨️ 快捷键说明

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