📄 getlinkview.h
字号:
// GetLinkView.h : interface of the CGetLinkView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_GETLINKVIEW_H__A93B3657_845D_11D4_B1AD_006097A376D5__INCLUDED_)
#define AFX_GETLINKVIEW_H__A93B3657_845D_11D4_B1AD_006097A376D5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CGetLinkView : public CTreeView
{
protected: // create from serialization only
CGetLinkView();
DECLARE_DYNCREATE(CGetLinkView)
CImageList* m_pImageList;
// Attributes
public:
CGetLinkDoc* GetDocument();
bool m_bWasSelected;
HTREEITEM m_hPointedItem;
bool m_DlgEdit;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGetLinkView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
CString m_ReplaceStr;
CString m_SearchStr;
void FormatFile(CString File);
void SaveFile(CString File, CStringArray &Content);
void FormatWidth(CStringArray &Content);
void OpenFile(CString File,CStringArray &Content);
virtual ~CGetLinkView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CGetLinkView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnItemAdd();
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnItemDelete();
afx_msg void OnItemEdit();
afx_msg void OnBeginlabeledit(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in GetLinkView.cpp
inline CGetLinkDoc* CGetLinkView::GetDocument()
{ return (CGetLinkDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GETLINKVIEW_H__A93B3657_845D_11D4_B1AD_006097A376D5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -