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

📄 detailview.h

📁 有关界面的编程源码。很有参考价值!值得一看
💻 H
字号:
#if !defined(AFX_DETAILVIEW_H__31D64F69_2904_4935_8296_2847615E824D__INCLUDED_)
#define AFX_DETAILVIEW_H__31D64F69_2904_4935_8296_2847615E824D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDetailView view
#include "RegNode.h"
#include <afxcview.h>

class CDetailView : public CListView
{
protected:
	CDetailView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CDetailView)

public:
	CImageList m_ImageList;
	CMenu m_DetailTrayMenu, m_DetailTraySubMenu;
	CRegNode *m_pCurrentNode;
	int m_nItemIndex;
#ifdef _WIN32_WCE
	CPoint m_PtGesture;
#endif
// Operations
public:
	void AddDetail(CRegNode *pNode);
	void Clear();
	void Refresh(UINT nItemId, CRegNode *pNode);
	void DisplayValues(CRegNode *pNode);
// Attributes
public:

// Operations
public:

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

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CDetailView)
		// NOTE - the ClassWizard will add and remove member functions here.
	afx_msg void OnDestroy();
	afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	afx_msg void OnAddString();
	afx_msg void OnDeleteValue();
	afx_msg void OnAddDword();
	afx_msg void OnModify();
	DECLARE_MESSAGE_MAP()
};

extern inline CDetailView *GetListView();

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

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

#endif // !defined(AFX_DETAILVIEW_H__31D64F69_2904_4935_8296_2847615E824D__INCLUDED_)

⌨️ 快捷键说明

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