?? osdemoview.h
字號:
// OSDemoView.h : interface of the COSDemoView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_OSDEMOVIEW_H__40423612_F959_4007_9A72_6558FC7AF91B__INCLUDED_)
#define AFX_OSDEMOVIEW_H__40423612_F959_4007_9A72_6558FC7AF91B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "TabSheet.h"
#include "Tab1.h"
#include "Tab2.h"
#include "Tab3.h"
#include "Tab4.h"
#include "BalloonTip.h"
class COSDemoView : public CFormView
{
protected: // create from serialization only
COSDemoView();
DECLARE_DYNCREATE(COSDemoView)
public:
//{{AFX_DATA(COSDemoView)
enum { IDD = IDD_OSDEMO_FORM };
CTabSheet m_Tab;
//}}AFX_DATA
// Attributes
public:
COSDemoDoc* GetDocument();
CTab1 m_Tab1;
CTab2 m_Tab2;
CTab3 m_Tab3;
CTab4 m_Tab4;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COSDemoView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
void ShowBallTip(CPoint pt, CString msg);
virtual ~COSDemoView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
CBalloonTip* m_pBalloonTip;
// Generated message map functions
protected:
//{{AFX_MSG(COSDemoView)
afx_msg void OnMenuTest1();
afx_msg void OnUpdateMenuTest1(CCmdUI* pCmdUI);
afx_msg void OnMenuTest2();
afx_msg void OnMenuTest3();
afx_msg void OnMenuTest4();
afx_msg void OnSelchangeTabDemo(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void ApplySkin(int n);
bool bTabInit;
};
#ifndef _DEBUG // debug version in OSDemoView.cpp
inline COSDemoDoc* COSDemoView::GetDocument()
{ return (COSDemoDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OSDEMOVIEW_H__40423612_F959_4007_9A72_6558FC7AF91B__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -