FLImaging 6.5.8.1
GUICheckBoxPushLike.h
1#pragma once
2
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}
체크박스 클래스
Definition GUICheckBox.h:28
누름과 유사 스타일을 가진 체크박스
Definition GUICheckBoxPushLike.h:28
virtual void SetEnable(bool bEnable) override
버튼 윈도우의 활성 여부를 지정하는 함수
virtual ~CGUICheckBoxPushLike()
기본 소멸자