splitwnd.h

来自「用Visual C++编写的查看磁盘信息的工具」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_SPLITWND_H__7AF195F8_A8C4_11D2_9376_0080C8E7F1DB__INCLUDED_)
#define AFX_SPLITWND_H__7AF195F8_A8C4_11D2_9376_0080C8E7F1DB__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSplitWnd window

class CSplitWnd : public CWnd
{
// Construction
public:
	CSplitWnd();

// Attributes
public:
	BOOL m_bVerticle;
	BOOL m_bDrawBorder;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSplitWnd)
	//}}AFX_VIRTUAL

// Implementation
public:
	void EnableBorder(BOOL b);
	virtual ~CSplitWnd();

	// Generated message map functions
protected:
	//{{AFX_MSG(CSplitWnd)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	
	afx_msg void OnPaint();
	afx_msg UINT OnNcHitTest(CPoint point);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnMoving(UINT fwSide, LPRECT pRect);
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	//}}AFX_MSG
	LRESULT OnEnterSM(WPARAM wp,LPARAM lp);
	LRESULT OnExitSM(WPARAM wp,LPARAM lp);
	
	RECT m_rect;
	int	m_d	;

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SPLITWND_H__7AF195F8_A8C4_11D2_9376_0080C8E7F1DB__INCLUDED_)

⌨️ 快捷键说明

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