www.pudn.com > TabBar.rar > MainView.h
// mainview.h : interface of the CMainView class.
#if !defined(AFX_MAINVIEW_H_INCLUDED_)
#define AFX_MAINVIEW_H_INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// class CMainView
class CMainView : public CView
{
DECLARE_DYNCREATE(CMainView)
// Construction\Destruction
protected: // create from serialization only
CMainView();
virtual ~CMainView();
// Attributes
protected:
CString m_Message;
// Operations
protected:
void ShowMessage(CDC* pDC);
// Overrides
//{{AFX_VIRTUAL(CMainView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Generated message map functions
protected:
//{{AFX_MSG(CMainView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg long OnTabBarCtrlNotify(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINVIEW_H_INCLUDED_)