BenjaminKalytta Posted August 27, 2004 Posted August 27, 2004 Yes this group.x command.Usage example can be found in changelog thread.Benjamin
BenjaminKalytta Posted August 28, 2004 Posted August 28, 2004 - store size of windowsthx for resizable windows . Initial values of size and position (in install.ini) would be nice or the last size and position is stored in an additional inifile and restored by next call of WIHUAlready done.- disable softwareitems in depence of OS-typeWindows Media Player 9.0 for XP and W2K has different setups (mpsetupxp.exe and setupxp.exe)Please use key.x.n for this purpose! See Changelog Thread for example.- Togglei will make an installation for different office and java versions and only one version should be selectableAlready done.Benjamin
opensurf Posted September 5, 2004 Author Posted September 5, 2004 Is it possible to get an option to select between a RadioButton (Optionsfeld) and a CheckBox (Kontrollkästchen) for each command (see picture), so that you can select only one thing in a group.The group.x works fine, but if choice one has subcommands (with checkboxes) and i choose option two, the subcommands of option one remains selected.It's possible to deselect the subcommands of option one when i select option two?Example:...description.1=Adobe Acrobat Readercommand.1=*group.1=1description.1.0=Acrobat Reader 5.1command.1.0=AcroReader51_DEU_full.exedescription.1.1=Acrobat Reader 6.0.2description.1.1.0=Update auf v6.0.2description.1.1.1=Photoshop Album 2.0 Starter Editioncommand.1.1=AdbeRdr60_deu_full.exe -p"/v\"/qn\""command.1.1.0=Acro-Reader_6.0.2_Update.exe /v/qncommand.1.1.1=psa201se_ger.exe /v/qnfile.1.1.0=%ProgramFiles%\Adobe\Acrobat 6.0\Reader\AcroRd32.exe?6.0.2.126hidden.1.1.0=1...When i deselect both options, the item "Adobe Acrobat Reader" should always be disabled, if possible.Thx, opensurf
BenjaminKalytta Posted September 5, 2004 Posted September 5, 2004 It's possible to deselect the subcommands of option one when i select option two?No that's not possible and also not necessary because if option one isn't selected also it's subcommands will never be executed.benjamin
opensurf Posted September 6, 2004 Author Posted September 6, 2004 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
BenjaminKalytta Posted September 6, 2004 Posted September 6, 2004 No it isn't as easy as you think. And also it isn't wanted.Take this example:(x) Option 1 [x] Sub Item 1 [ ] Sub Item 2 ...( ) Option 2( ) Option 3May be you decided to unselect "Sub Item 2". "Sub Item 2" could have hundreds more items which you manual selected. If you then select "Option 2" entire work selecting subitems from "Option 1" is in vain. This is mostly unwanted!Benjamin
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now