You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
503 B
31 lines
503 B
#pragma once
|
|
|
|
namespace SOUI
|
|
{
|
|
|
|
class SCheckBox2 : public SWindow
|
|
{
|
|
SOUI_CLASS_NAME(SCheckBox2,L"check2")
|
|
public:
|
|
SCheckBox2(void);
|
|
~SCheckBox2(void);
|
|
|
|
protected:
|
|
HRESULT OnAttrCheck(const SStringW& strValue, BOOL bLoading);
|
|
|
|
SOUI_ATTRS_BEGIN()
|
|
ATTR_CUSTOM(L"checked",OnAttrCheck)
|
|
SOUI_ATTRS_END()
|
|
|
|
protected:
|
|
void OnLButtonUp(UINT nFlags, CPoint point);
|
|
|
|
SOUI_MSG_MAP_BEGIN()
|
|
MSG_WM_LBUTTONDBLCLK(OnLButtonDown)
|
|
MSG_WM_LBUTTONUP(OnLButtonUp)
|
|
SOUI_MSG_MAP_END()
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|