dinput.h

来自「商品库存管理系统 用VC++6.0编写」· C头文件 代码 · 共 77 行

H
77
字号
#if !defined(AFX_DINPUT_H__C31872E1_646A_11D8_8752_5254AB32C8FB__INCLUDED_)
#define AFX_DINPUT_H__C31872E1_646A_11D8_8752_5254AB32C8FB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DInput.h : header file
//
#include "RxGrid.h"
#include "ExtendEdit.h"
#include "ExtendEdit_Grid.h"
/////////////////////////////////////////////////////////////////////////////
// CDInput dialog

class CDInput : public CDialog
{
// Construction
public:
	void SetOP(CString sOP);
	_RecordsetPtr rst;
	CDInput(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDInput)
	enum { IDD = IDD_DIAInPut };
	CEdit	m_EdtSum;
	CEdit	m_EdtMoney;
	CButton	m_ButUndo;
	CButton	m_ButSave;
	CButton	m_ButExit;
	CButton	m_ButEnrol;
	CRxGrid	m_Grid;
	CStatic	m_StaID;
	CStatic	m_StaDate;
	CExtendEdit	m_EdtProvider;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDInput)
	public:
	virtual BOOL DestroyWindow();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDInput)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnBUTEnrol();
	afx_msg void OnItemchangingList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBUTSave();
	afx_msg void OnBUTUndo();
	afx_msg void OnBUTExit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString OP;
	bool IsPopShow;
	void ItemChange();
	NMHDR* pHdr;
	LRESULT* pRst;
	HBRUSH m_hBrush;
};

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

#endif // !defined(AFX_DINPUT_H__C31872E1_646A_11D8_8752_5254AB32C8FB__INCLUDED_)

⌨️ 快捷键说明

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