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

📄 outbar.h

📁 一个非常好的词法分析程序,加上语法的分析是一个难得一见的好实例
💻 H
字号:
#if !defined(__OUTBAR_H__)
#define __OUTBAR_H__

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

#include "sizecbar.h"
#include "ColorRichEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CMyBar window

#ifndef baseCOutBar
#define baseCOutBar CSizingControlBar
#endif
class COutBar : public baseCOutBar
{
// Construction
public:
    COutBar();

// Attributes
public:

// Overridables
    virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);

// Operations
public:

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

// Implementation
public:
	CString GetColorRichEditText();
	void SetColorRichEditText(CString str);
    virtual ~COutBar();
	CRichEditCtrl* GetRichEditCtrl(){return &m_ColorRichEdit;};

protected:
	CColorRichEdit m_ColorRichEdit;

    // Generated message map functions
protected:
	
    //{{AFX_MSG(CMyBar)
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(__MYBAR_H__)

⌨️ 快捷键说明

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