infoedit.h

来自「电脑编程技巧和源码。很不错的。」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_INFOEDIT_H__0F9D7DA3_F4D4_11D3_B94C_BF4DB6C952EF__INCLUDED_)
#define AFX_INFOEDIT_H__0F9D7DA3_F4D4_11D3_B94C_BF4DB6C952EF__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CInfoEdit view

class CInfoEdit : public CScrollView
{
protected:
	DECLARE_DYNCREATE(CInfoEdit)

// Attributes
public:
	CInfoEdit();           // protected constructor used by dynamic creation
	virtual ~CInfoEdit();

// Operations
public:
	BOOL SaveData();
	int iTypeNumber;
	CObArray *m_pUserValueList,*m_pTypeList;
	CObArray TypeButtonArray,BeginTimeArray,EndTimeArray;
	BOOL SetData(CObArray *UserValues,CObArray *TypeList);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInfoEdit)
	public:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnInitialUpdate();     // first time after construct
	//}}AFX_VIRTUAL

// Implementation
protected:

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CInfoEdit)
	afx_msg int OnMouseActivate( CWnd* pDesktopWnd, UINT nHitTest, UINT message );
	afx_msg BOOL OnChooseType(WPARAM dtpID,LPARAM action);
	afx_msg BOOL OnSetValue(WPARAM iWhichOne,LPARAM pValue);
	afx_msg BOOL OnInvertControl(WPARAM NoUse,LPARAM ForFuture);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_INFOEDIT_H__0F9D7DA3_F4D4_11D3_B94C_BF4DB6C952EF__INCLUDED_)

⌨️ 快捷键说明

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