menutreeview.h

来自「又服务器+客户端,不错的例子. 但是有所不同.」· C头文件 代码 · 共 70 行

H
70
字号
#if !defined(AFX_MENUTREEVIEW_H__66868418_AD1D_4989_B4D4_E2C2061F9F18__INCLUDED_)
#define AFX_MENUTREEVIEW_H__66868418_AD1D_4989_B4D4_E2C2061F9F18__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMenuTreeView view

class CMenuTreeView : public CTreeView
{
protected:
	CMenuTreeView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CMenuTreeView)
	
// Attributes
public:
	CTreeCtrl *pTree;
	CImageList *pImage;
	
	void (CMenuTreeView::*fpt[10])(void);
	void ProviderInfo();
	void PhysicInfoSet();
	void PhysicRateInfo();
	void CallFun(CString str);
	void DutyInfoSet();
	void SalesManInfo();
	void HospitalInfo();
	void OfficeInfo();
	void DoctorInfo();
	void QueryCount();
	void SaleRecordM();
	
	// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMenuTreeView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CMenuTreeView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CMenuTreeView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MENUTREEVIEW_H__66868418_AD1D_4989_B4D4_E2C2061F9F18__INCLUDED_)

⌨️ 快捷键说明

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