Jump to content

WIHU Wishlist


Recommended Posts


Posted
- store size of windows

thx 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 WIHU

Already done.

- disable softwareitems in depence of OS-type

Windows 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.

- Toggle

i will make an installation for different office and java versions and only one version should be selectable

Already done.

Benjamin

  • 2 weeks later...
Posted
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 Reader

command.1=*

group.1=1

description.1.0=Acrobat Reader 5.1

command.1.0=AcroReader51_DEU_full.exe

description.1.1=Acrobat Reader 6.0.2

description.1.1.0=Update auf v6.0.2

description.1.1.1=Photoshop Album 2.0 Starter Edition

command.1.1=AdbeRdr60_deu_full.exe -p"/v\"/qn\""

command.1.1.0=Acro-Reader_6.0.2_Update.exe /v/qn

command.1.1.1=psa201se_ger.exe /v/qn

file.1.1.0=%ProgramFiles%\Adobe\Acrobat 6.0\Reader\AcroRd32.exe?6.0.2.126

hidden.1.1.0=1

...

When i deselect both options, the item "Adobe Acrobat Reader" should always be disabled, if possible.

Thx, opensurf

Posted
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

Posted
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

Posted

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 3

May 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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...