?? detailview.h
字號:
#if !defined(AFX_DETAILVIEW_H__2B7B58F6_5594_4946_9185_91222B3B69DC__INCLUDED_)
#define AFX_DETAILVIEW_H__2B7B58F6_5594_4946_9185_91222B3B69DC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DetailView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDetailView view
#include <afxcview.h>
class CDetailView : public CListView
{
protected:
CDetailView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CDetailView)
// Attributes
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);
// 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)
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();
#if defined(_WIN32_WCE)
#if !defined(_X86_) && !defined(WIN32_PLATFORM_HPC2000)
afx_msg void OnContextMenu(WPARAM wParam, LPARAM lParam);
#endif
#endif
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__2B7B58F6_5594_4946_9185_91222B3B69DC__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -