gfxsplitterwnd.h

来自「一个农用车辆管理系统的雏形」· C头文件 代码 · 共 43 行

H
43
字号
// Copyright (c) Iuri Apollonio 1998
// Use & modify as you want & need, and leave those 3 lines.
// http://www.codeguru.com


// GfxSplitterWnd.h: interface for the CGfxSplitterWnd class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GFXSPLITTERWND_H__6D985468_F726_11D1_83B6_0000B43382FE__INCLUDED_)
#define AFX_GFXSPLITTERWND_H__6D985468_F726_11D1_83B6_0000B43382FE__INCLUDED_

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

class AFX_EXT_CLASS CGfxSplitterWnd : public CSplitterWnd  
{
public:
	int m_upBorder;
	bool bWhiteLine;
	CGfxSplitterWnd();
	virtual ~CGfxSplitterWnd();
	void OnDrawSplitter(CDC* pDC, ESplitType nType, const CRect& rectArg);
	void OnInvertTracker(const CRect & rect);

	void RecalcLayout();
protected:
	void GetInsideRect(CRect& rect) const;
	// Generated message map functions
	//{{AFX_MSG(CGfxSplitterWnd)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
};

#endif // !defined(AFX_GFXSPLITTERWND_H__6D985468_F726_11D1_83B6_0000B43382FE__INCLUDED_)

⌨️ 快捷键说明

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