// buttonView.h : interface of the CButtonView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BUTTONVIEW_H__07811164_BE5E_11D5_B5B9_00106090150C__INCLUDED_)
#define AFX_BUTTONVIEW_H__07811164_BE5E_11D5_B5B9_00106090150C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CButtonView : public CView
{
protected: // create from serialization only
CButtonView();
DECLARE_DYNCREATE(CButtonView)
// Attributes
public:
CButtonDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CButtonView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
int m_bIsChecked;
char cBuf[50];
CButton m_show;
CButton m_radio2;
CButton m_radio1;
virtual ~CButtonView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CButtonView)
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnStatus();
afx_msg void OnDone();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in buttonView.cpp
inline CButtonDoc* CButtonView::GetDocument()
{ return (CButtonDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUTTONVIEW_H__07811164_BE5E_11D5_B5B9_00106090150C__INCLUDED_)