MCPcopy Create free account
hub / github.com/cinience/RedisStudio / OnCheckBoxChanged

Method OnCheckBoxChanged

DuiLib/Control/UITreeView.cpp:1030–1041  ·  view source on GitHub ↗

��������: OnCheckBoxChanged ��������: bool ������Ϣ: void * param ����˵��:

Source from the content-addressed store, hash-verified

1028 // ����˵��:
1029 //************************************
1030 bool CTreeViewUI::OnCheckBoxChanged( void* param )
1031 {
1032 TNotifyUI* pMsg = (TNotifyUI*)param;
1033 if(pMsg->sType == _T("selectchanged"))
1034 {
1035 CCheckBoxUI* pCheckBox = (CCheckBoxUI*)pMsg->pSender;
1036 CTreeNodeUI* pItem = (CTreeNodeUI*)pCheckBox->GetParent()->GetParent();
1037 SetItemCheckBox(pCheckBox->GetCheck(),pItem);
1038 return true;
1039 }
1040 return true;
1041 }
1042
1043 //************************************
1044 // ��������: OnFolderChanged

Callers

nothing calls this directly

Calls 2

GetCheckMethod · 0.80
GetParentMethod · 0.45

Tested by

no test coverage detected