ppagesetcharge.h

来自「一个串口通信好例子,是完整的VC++工程,很值得初学者学习.」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_PPAGESETCHARGE_H__05018774_2D94_457C_B228_DFAB164506B9__INCLUDED_)
#define AFX_PPAGESETCHARGE_H__05018774_2D94_457C_B228_DFAB164506B9__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPPageSetCharge dialog

class CPPageSetCharge : public CPropertyPage
{
	DECLARE_DYNCREATE(CPPageSetCharge)

// Construction
public:
	CPPageSetCharge();
	~CPPageSetCharge();

public:
	void SetCombCurSel(UINT nIDComb, UINT index);
	UINT GetCombCurSel(UINT nIDComb);
	
	DWORD m_chargetype;
	DWORD m_cardclass;
	
// Dialog Data
	//{{AFX_DATA(CPPageSetCharge)
	enum { IDD = IDD_PROPPAGE_SETCHARGE };
	//}}AFX_DATA


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

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPPageSetCharge)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeChargetype();
	afx_msg void OnSelchangeCardclass();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_PPAGESETCHARGE_H__05018774_2D94_457C_B228_DFAB164506B9__INCLUDED_)

⌨️ 快捷键说明

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