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

📄 toolbarview.h

📁 离线的RSS阅读器
💻 H
字号:
#if !defined(AFX_TOOLBARVIEW_H__A8530607_0FCF_4214_BF95_68002DCD7C44__INCLUDED_)
#define AFX_TOOLBARVIEW_H__A8530607_0FCF_4214_BF95_68002DCD7C44__INCLUDED_

#include "ImageTextButton.h"
#include "MyEdit.h"
#include "resource.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ToolBarView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CToolBarView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CToolBarView : public CFormView
{
protected:
	CToolBarView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CToolBarView)
	
	CImageTextButton *m_newCategory;
	CImageTextButton *m_newChannel;
	CImageTextButton *m_updateAll;
	CImageTextButton *m_seach;
	CMyEdit* m_searchKey;
	CButton m_splitter;

	void newChannel();
	void newCategory();
	void updateAll();
	void search();

// Form Data
public:
	//{{AFX_DATA(CToolBarView)
	enum { IDD = IDD_TOOLBARVIEW };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA
	void OnInitialUpdate();
	BOOL OnEraseBkgnd(CDC* pDC);
// Attributes
public:
	void disableButton(int type);
	void enableButton(int id,bool enable = false);
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CToolBarView)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CToolBarView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_TOOLBARVIEW_H__A8530607_0FCF_4214_BF95_68002DCD7C44__INCLUDED_)

⌨️ 快捷键说明

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