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

📄 explplg.h

📁 一个完整的编辑器的代码(很值得参考
💻 H
字号:

#ifndef __EXPLPLG_H__INCLUDED__
#define __EXPLPLG_H__INCLUDED__

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "shelltree.h"

/////////////////////////////////////////////////////////////////////////////
// CExplorePlug window

#pragma warning ( disable : 4512 )
class CExplorePlug : public CShellTree
  {
    // Construction
public :
    CExplorePlug ();

    // Attributes
public :
    bool m_bWasSelected;
    HTREEITEM m_hPointedItem;

    // Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CExplorePlug)
    //}}AFX_VIRTUAL

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

    // Generated message map functions
protected :
    //{{AFX_MSG(CExplorePlug)
    afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnItemExpanding (NMHDR * pNMHDR, LRESULT * pResult);
    afx_msg void OnSelChanged (NMHDR * pNMHDR, LRESULT * pResult);
    afx_msg void OnDblClk (NMHDR * pNMHDR, LRESULT * pResult);
    afx_msg void OnDeleteItem (NMHDR * pNMHDR, LRESULT * pResult);
    afx_msg void OnDestroy ();
    afx_msg void OnRButtonDown (UINT nFlags, CPoint point);
    afx_msg void OnRButtonUp (UINT nFlags, CPoint point);
    afx_msg void OnProperties ();
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP ()
  };
#pragma warning ( default : 4512 )

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // __EXPLPLG_H__INCLUDED__

⌨️ 快捷键说明

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