mysplitterwnd.h

来自「《面向对象程序设计实用教程》一书的源码」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_MYSPLITTERWND_H__DBB2E6E1_2CE7_11D5_A514_956918229D5C__INCLUDED_)
#define AFX_MYSPLITTERWND_H__DBB2E6E1_2CE7_11D5_A514_956918229D5C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// mySplitterwnd.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CmySplitterwnd frame with splitter

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CmySplitterwnd : public CSplitterWnd
{
	DECLARE_DYNCREATE(CmySplitterwnd)

	CmySplitterwnd();           // protected constructor used by dynamic creation

// Attributes
protected:
	CSplitterWnd    m_wndSplitter;
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CmySplitterwnd)
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CmySplitterwnd();

	// Generated message map functions
	//{{AFX_MSG(CmySplitterwnd)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MYSPLITTERWND_H__DBB2E6E1_2CE7_11D5_A514_956918229D5C__INCLUDED_)

⌨️ 快捷键说明

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