12#include "GUIWndCtrlBase.h"
13#include "GUIStyledCtrlBase.h"
28 class FL_EXPORT
CGUICheckBox :
public CButton,
public CGUIWndCtrlBase,
public CGUIStyledCtrlBase
98 virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
override;
99 virtual void DrawButton(CDC* pDC,
const CRect& rect,
const int32_t& i32CheckBoxMargin,
const int32_t& i32CheckBoxSize);
100 virtual void DrawText(CDC* pDC,
const CRect& rect,
const int32_t& i32CheckBoxMargin,
const int32_t& i32CheckBoxSize);
104 UINT m_u32CheckState;
106 DECLARE_MESSAGE_MAP()
108 afx_msg BOOL OnBnClicked();
109 afx_msg
void OnMouseHover(UINT nFlags, CPoint point);
110 afx_msg
void OnMouseLeave();
111 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
112 afx_msg
void OnSetFocus(CWnd* pOldWnd);
113 afx_msg
void OnKillFocus(CWnd* pNewWnd);
114 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
115 virtual
void PreSubclassWindow();
116 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
117 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
118 afx_msg
void OnDestroy();
119 afx_msg
void OnEnable(BOOL bEnable);
virtual void SetCheckColor(COLORREF clrCheckColor)
체크 색상 설정
virtual COLORREF GetCheckColor() const
체크 색상 얻기
virtual void SetEnable(bool bEnable)
버튼 윈도우의 활성 여부를 지정하는 함수
virtual ~CGUICheckBox()
기본 소멸자
void SetCheck(bool bCheck)
체크 상태를 지정하는 함수
bool GetCheck() const
체크박스가 체크되었는지 여부를 반환하는 함수
Definition D2DObject.h:12