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

📄 testlibview.h

📁 这是书上的代码
💻 H
字号:
  // TestLibView.h : interface of the CTestLibView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTLIBVIEW_H__24447327_C13C_441F_9D3C_32F5521741A8__INCLUDED_)
#define AFX_TESTLIBVIEW_H__24447327_C13C_441F_9D3C_32F5521741A8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//#define  WM_DISPLAY_WNDINFO (WM_USER+90)
class CTestLibDoc;
class CTestLibView : public CMyView
{
protected: // create from serialization only
	CTestLibView();
	DECLARE_DYNCREATE(CTestLibView)

// Attributes
public:
	CTestLibDoc* GetDocument();

	CCJLogoPane*	m_pLogoPane;
	BOOL			m_bLBDown;
	COXToolTipCtrl* m_pToolTip;
		
// Operations
public:
	void  DisplayWndInfo();
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestLibView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual void OnMyDraw(CDC* pDC);
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestLibView)
	afx_msg void OnLogonpane();
	afx_msg void OnGetmodulehandle();
	afx_msg void OnCreateProfile();
	afx_msg void OnViewPf();
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnOperate1();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TestLibView.cpp
inline CTestLibDoc* CTestLibView::GetDocument()
   { return (CTestLibDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TESTLIBVIEW_H__24447327_C13C_441F_9D3C_32F5521741A8__INCLUDED_)

⌨️ 快捷键说明

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