-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMWReBar.h
34 lines (25 loc) · 911 Bytes
/
MWReBar.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
// MWReBar.h: interface for the CMWReBar class.
//
//////////////////////////////////////////////////////////////////////
#pragma once
class CMWReBar : public CReBar
{
DECLARE_DYNAMIC(CMWReBar)
friend HBRUSH FriendCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
friend BOOL FriendEraseBkgnd(CWnd* pWnd, CDC* pDC);
public:
CMWReBar();
virtual ~CMWReBar();
void SetAnsiVarFont ();
void SetAnsiFixedFont ();
void SendNormalMessage();
protected:
DECLARE_MESSAGE_MAP()
private :
boolean m_bSendNormal;
public:
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
virtual BOOL Create(CWnd* pParentWnd, DWORD dwCtrlStyle = RBS_BANDBORDERS, DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | CBRS_TOP, UINT nID = AFX_IDW_REBAR);
afx_msg void OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult);
};