-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDialogBarMain.h
More file actions
37 lines (28 loc) · 908 Bytes
/
DialogBarMain.h
File metadata and controls
37 lines (28 loc) · 908 Bytes
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
#pragma once
// CDialogBarMain
class CDialogBarMain : public CDialogBar
{
DECLARE_DYNAMIC(CDialogBarMain)
CPoint m_PointOld;
CRect m_recBar;
BOOL m_bFlagDown, m_bSplitCurs, m_bInflateBrder;
HCURSOR m_CurNorm, m_CurHSpl, m_CurVSpl, m_oldCursor, m_curCursor;
CRect m_rec_s;
void SetCurCurssor(CPoint point);
void SetSplitCurssor();
void SetNormCurssor();
void OnInvertTracker(CPoint point);
void SetInitSize(LPVOID pFram);
public:
CDialogBarMain();
virtual ~CDialogBarMain();
virtual CSize CalcDynamicLayout(int nLength, DWORD dwMode);
virtual void ResizeOtherBars(){};
virtual void Serialize(CArchive& ar);
protected:
DECLARE_MESSAGE_MAP()
afx_msg void OnPaint();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
};