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

📄 dinput.h

📁 一个VC++写的商品库存管理系统
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -