12#include "GUIWndCtrlBase.h" 
   27        class FL_EXPORT 
CGUICheckBox : 
public CButton, 
public CGUIWndCtrlBase
 
  106            DECLARE_MESSAGE_MAP()
 
  107            afx_msg BOOL OnBnClicked();
 
  108            afx_msg 
void OnSetFocus(CWnd* pOldWnd);
 
  109            afx_msg 
void OnKillFocus(CWnd* pNewWnd);
 
  110            afx_msg BOOL OnEraseBkgnd(CDC* pDC);
 
  111            afx_msg 
int OnCreate(LPCREATESTRUCT lpCreateStruct);
 
  112            virtual 
void PreSubclassWindow();
 
  115            virtual 
void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) override;
 
  116            virtual 
void DrawButton(CDC* pDC, const CRect& rect, const int32_t& i32CheckBoxMargin, const int32_t& i32CheckBoxSize);
 
  117            virtual 
void DrawText(CDC* pDC, const CRect& rect, const int32_t& i32CheckBoxSize);
 
  118            virtual 
void DrawRectangleBorder(CDC* pDC, const CRect& rect, COLORREF clr)override;
 
  122            UINT m_u32CheckState;
 
  123            COLORREF m_clrCheckBox;
 
  125            Gdiplus::Color m_crCheck;
 
  128            COLORREF m_clrCheckDefault;
 
virtual COLORREF GetCheckColor() const
체크 색상 얻기
virtual void SetEnable(bool bEnable)
버튼 윈도우의 활성 여부를 지정하는 함수
virtual ~CGUICheckBox()
기본 소멸자
void SetCheck(bool bCheck)
체크 상태를 지정하는 함수
virtual void SetCheckColor(COLORREF clrCheckColorDefault)
체크 색상 설정
bool GetCheck() const
체크박스가 체크되었는지 여부를 반환하는 함수
virtual bool IsEnabled() const
버튼의 활성 여부를 얻는 함수
Definition D2DObject.h:12