Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

68 lines
1.7 KiB
C++

#if !defined(AFX_CxPatSplitterWnd_H__8E3E5264_02A9_11D2_BF99_000021000B7C__INCLUDED_)
#define AFX_CxPatSplitterWnd_H__8E3E5264_02A9_11D2_BF99_000021000B7C__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// xPatSplitterWnd.h : header file
//
#define WM_SPLITTER_MOVED (WM_USER+1000)
/////////////////////////////////////////////////////////////////////////////
// CxPatSplitterWnd window
class CPatternManage;
class CxPatSplitterWnd : public CWnd
{
// Construction
public:
CxPatSplitterWnd();
// Attributes
public:
CPatternManage *m_Dlg;
// Operations
public:
BOOL BindWithControl(CWnd *parent, DWORD ctrlId);
void Unbind(void);
void SetMinWidth(int left, int right);
BOOL AttachAsLeftPane(DWORD ctrlId);
BOOL AttachAsRightPane(DWORD ctrlId);
BOOL DetachAllPanes(void);
void RecalcLayout(void);
protected:
BOOL GetMouseClipRect(LPRECT rectClip, CPoint point);
CWnd *m_Parent;
CDWordArray m_leftIds, m_rightIds;
int m_minLeft, m_minRight;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CxPatSplitterWnd)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CxPatSplitterWnd();
// Generated message map functions
protected:
//{{AFX_MSG(CxPatSplitterWnd)
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_XYSPLITTERWND_H__8E3E5264_02A9_11D2_BF99_000021000B7C__INCLUDED_)