📄 hysplitter.h
字号:
#if !defined(AFX_YSPLITTERWND_H__5AAD2ACD_D425_4636_BE47_AE7718927159__INCLUDED_)
#define AFX_YSPLITTERWND_H__5AAD2ACD_D425_4636_BE47_AE7718927159__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HySplitter.h : header file
//
#include "HSpltMsg.h"
/////////////////////////////////////////////////////////////////////////////
// CHySplitter window
class AFX_EXT_CLASS CHySplitter : public CWnd
{
// Construction
public:
CHySplitter();
// Attributes
public:
// Operations
public:
BOOL BindWithControl(CWnd *parent, DWORD ctrlId);
void Unbind(void);
void SetMinHeight(int above, int below);
BOOL AttachAsAbovePane(DWORD ctrlId);
BOOL AttachAsBelowPane(DWORD ctrlId);
BOOL DetachAllPanes(void);
void RecalcLayout(void);
protected:
BOOL GetMouseClipRect(LPRECT rectClip, CPoint point);
CWnd *m_Parent;
CDWordArray m_aboveIds, m_belowIds;
int m_minAbove, m_minBelow;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHySplitter)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHySplitter();
// Generated message map functions
protected:
//{{AFX_MSG(CHySplitter)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_YSPLITTERWND_H__5AAD2ACD_D425_4636_BE47_AE7718927159__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -