forked from WinMerge/winmerge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDiffViewBar.h
47 lines (37 loc) · 1019 Bytes
/
DiffViewBar.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
* @file DiffViewBar.h
*
* @brief Declaration of CDiffViewBar class
*/
#pragma once
#include "scbarcf.h"
class CSplitterWndEx;
// You must #define this for viewbar to compile properly
#define TViewBarBase CSizingControlBarCF
class CDiffViewBar : public TViewBarBase
{
DECLARE_DYNAMIC(CDiffViewBar);
public:
CDiffViewBar();
virtual ~CDiffViewBar();
virtual BOOL Create(
CWnd* pParentWnd, // mandatory
LPCTSTR lpszWindowName = nullptr,
DWORD dwStyle = WS_CHILD | WS_VISIBLE | CBRS_TOP,
UINT nID = AFX_IDW_PANE_FIRST);
void SetFrameHwnd(HWND hwndFrame);
void UpdateResources();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDiffViewBar)
public:
//}}AFX_VIRTUAL
//{{AFX_MSG(CDiffViewBar)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnWindowPosChanged(WINDOWPOS* lpwndpos);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
HWND m_hwndFrame; //*< Frame window handle */
};