We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
实际业务中有向成员转发通知的需求,一个一个点过去很费时间,目前的想法是在转发界面添加一个能全选复选框的功能。
The text was updated successfully, but these errors were encountered:
貌似复选控件可以直接设置为ture状态。
Sorry, something went wrong.
//该部分已经通过以下部分实现 //该取消按钮为全选 contact_select_form_ui.cpp
bool ContactSelectForm::OnBtnCancelClick(ui::EventArgs* param) {
for (auto& it : tree_node_ver_) { for (int i = 0; i < it->GetCount(); i++) { auto listitem = (ContactListItemUI*)(it->GetItemAt(i)); UTF8String id = listitem->GetUTF8DataID(); ui::CheckBox* checkbox = (ui::CheckBox*)listitem->FindSubControl(L"checkbox"); if (!checkbox->IsSelected()) { checkbox->Selected(true, true); listitem->Selected(true, true); OnCheckBox(id, listitem->IsTeam(), checkbox->IsSelected()); } } } return true;
}
No branches or pull requests
实际业务中有向成员转发通知的需求,一个一个点过去很费时间,目前的想法是在转发界面添加一个能全选复选框的功能。
The text was updated successfully, but these errors were encountered: