cxsplitterwnd.h

来自「对话框子类设计」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_SPSP_H__DA9F23A8_CC8D_4984_8EEC_B6F6DBE004D9__INCLUDED_)
#define AFX_SPSP_H__DA9F23A8_CC8D_4984_8EEC_B6F6DBE004D9__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// spsp frame with splitter

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

class CxSplitterWnd : public CSplitterWnd
{
	DECLARE_DYNCREATE(CxSplitterWnd)
protected:

// Attributes
protected:
	CSplitterWnd    m_wndSplitter;
public:
	CxSplitterWnd();           // protected constructor used by dynamic creation

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CxSplitterWnd)

	virtual void StartTracking(int ht); 
	virtual void OnSize(UINT nType, int cx, int cy) ;
	virtual CWnd* GetActivePane(int* pRow = NULL, int* pCol  = NULL); 
	virtual void SetActivePane( int row, int col, CWnd* pWnd  = NULL ); 
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); 
	virtual BOOL OnNotify( WPARAM wParam, LPARAM lParam, LRESULT* pResult ); 
	virtual BOOL OnWndMsg( UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult ); 	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CxSplitterWnd();

	// Generated message map functions
	//{{AFX_MSG(CxSplitterWnd)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SPSP_H__DA9F23A8_CC8D_4984_8EEC_B6F6DBE004D9__INCLUDED_)

⌨️ 快捷键说明

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