FLImaging 6.6.27.1
GUICheckBoxPushLike.h
1#pragma once
2
10
11#include <afxwin.h>
12#include "GUICheckBox.h"
13
15namespace FLImaging
16{
18 namespace GUI
19 {
27 class FL_EXPORT CGUICheckBoxPushLike : public CGUICheckBox
28 {
29 public:
37
45
54 virtual void SetEnable(bool bEnable)override;
55
56 public:
57 DECLARE_MESSAGE_MAP()
58 afx_msg BOOL OnBnClicked();
59 afx_msg void OnMouseHover(UINT nFlags, CPoint point);
60 afx_msg void OnMouseLeave();
61 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
62 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
63 afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
64 afx_msg void OnSetFocus(CWnd* pOldWnd);
65 afx_msg void OnKillFocus(CWnd* pNewWnd);
66
67 protected:
68 virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) override;
69 virtual void DrawButton(CDC* pDC, const CRect& rect);
70 virtual void DrawText(CDC* pDC, const CRect& rect);
71
72 protected:
73 BOOL m_bCursorOnWnd;
74 };
75 }
76}
CGUICheckBox()
기본 생성자
virtual void SetEnable(bool bEnable) override
버튼 윈도우의 활성 여부를 지정하는 함수
virtual ~CGUICheckBoxPushLike()
기본 소멸자
Definition D2DObject.h:12