��������: OnFolderChanged ��������: bool ������Ϣ: void * param ����˵��:
| 1047 | // ����˵��: |
| 1048 | //************************************ |
| 1049 | bool CTreeViewUI::OnFolderChanged( void* param ) |
| 1050 | { |
| 1051 | TNotifyUI* pMsg = (TNotifyUI*)param; |
| 1052 | if(pMsg->sType == _T("selectchanged")) |
| 1053 | { |
| 1054 | CCheckBoxUI* pFolder = (CCheckBoxUI*)pMsg->pSender; |
| 1055 | CTreeNodeUI* pItem = (CTreeNodeUI*)pFolder->GetParent()->GetParent(); |
| 1056 | pItem->SetVisibleTag(!pFolder->GetCheck()); |
| 1057 | SetItemExpand(!pFolder->GetCheck(),pItem); |
| 1058 | return true; |
| 1059 | } |
| 1060 | return true; |
| 1061 | } |
| 1062 | |
| 1063 | //************************************ |
| 1064 | // ��������: OnDBClickItem |
nothing calls this directly
no test coverage detected