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

📄 buttonsview.h

📁 讲mfc的书
💻 H
字号:
// buttonsView.h : interface of the CButtonsView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_BUTTONSVIEW_H__CB59FF6D_FD23_11D0_B7BA_444553540000__INCLUDED_)
#define AFX_BUTTONSVIEW_H__CB59FF6D_FD23_11D0_B7BA_444553540000__INCLUDED_

#include "ODButton.h"	// Added by ClassView
#include "ODStatic.h"	// Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CButtonsView : public CFormView
{
protected: // create from serialization only
	CButtonsView();
	DECLARE_DYNCREATE(CButtonsView)

public:
	//{{AFX_DATA(CButtonsView)
	enum { IDD = IDD_BUTTONS_FORM };
	CODCombo	m_odcombo;
	CButton	m_stdbtn;
	//}}AFX_DATA

// Attributes
public:
	CButtonsDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CButtonsView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	CSelfMenu m_selfMenu;
	CODStatic m_odstatic;
	CODButton m_odbtn;
	CBitmapButton m_MFCBtn;
	CBitmap bm;
	virtual ~CButtonsView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CButtonsView)
	afx_msg void OnStdbtn();
	afx_msg void OnSelfdraw();
	afx_msg void OnBitmap();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in buttonsView.cpp
inline CButtonsDoc* CButtonsView::GetDocument()
   { return (CButtonsDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_BUTTONSVIEW_H__CB59FF6D_FD23_11D0_B7BA_444553540000__INCLUDED_)

⌨️ 快捷键说明

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