Quote
It's possible to deselect the subcommands of option one when i select option two?
I hope the following change (RED) in listviewex.c could solve the problem. I have used sourcecode 2.1.9.3:
...
int ListViewExSetCheckState(HWND hLv, LV_EX_ITEM* Item, LV_EX_STATE State) {
LV_EX_ITEM *Parent, *Child;
Parent = ListViewExGetParent(hLv, Item);
if (Parent && Parent->Flags & LVEXF_GROUP) {
Child = Parent->Next;
while (Child) {
if (Child->Indent <= Parent->Indent) break;
if (Child->Indent == Item->Indent) {
Child->CheckState = 0;
Child = Child->Next;
if (Child->Prev != Item){
while (Child && Child->Indent > Item->Indent) {
Child->CheckState = 0;
Child = Child->Next;
}
}
}
else
Child = Child->Next;
}
}
Item->CheckState = State;
return 1;
}
...
CU, opensurf



Help

Back to top









