Archive: Replacement of section divider?


Replacement of section divider?
I was wondering if there was a way to implement the same functionality of a section divider while using the new 2.0 versions that no longer support this. I liked having a line between some sections when selecting sections to install.

Thanks,
Steve


It is a bit complicated to implement now that NSIS uses a TreeView control. It will require to draw the tree manually unless there is some magic way to do this that I am not familiar with. If anyone knows such a way, please share.


Is there no way to let the programmer choose which style to use ?
e.g. adding a command like SectionsStyle (w/ parameters Separate or Tree)
Regards


Originally posted by Wyz
Is there no way to let the programmer choose which style to use ?
e.g. adding a command like SectionsStyle (w/ parameters Separate or Tree)
Regards
Is possible, but it's a lot of work. Using SubSections, there is also a good separation.

Why a lot's of work ?
Both are still coded, each parameter could link to the corresponding code...
Tell me if I'm wrong


Originally posted by Wyz
Why a lot's of work ?
Both are still coded, each parameter could link to the corresponding code...
Tell me if I'm wrong
New systems such as the mouseover for descriptions need to be integrated in the old system. And it adds extra overhead. What's the problem with SubSections?

Ok thx for the reply, I have nothing against treeview, it's just in order I undertand why it is not possible (and trying to help okapi)...


Originally posted by Wyz
Ok thx for the reply, I have nothing against treeview, it's just in order I undertand why it is not possible (and trying to help okapi)...
It's always possible, but it adds extra overhead (or it should be made optional so you need to recompile), and I don't think that it will be used by other people :)

I don't know what okapi has against treeview (maybe he doesn't even know yet that there are subsections :D).