Old 30th August 2002, 18:00   #1
okapi
Junior Member
 
Join Date: May 2002
Location: Washington, DC
Posts: 10
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
okapi is offline   Reply With Quote
Old 30th August 2002, 19:48   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 30th August 2002, 22:11   #3
Wyz
Junior Member
 
Join Date: Aug 2002
Location: France
Posts: 33
Send a message via ICQ to Wyz Send a message via AIM to 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
Wyz is offline   Reply With Quote
Old 30th August 2002, 22:27   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Quote:
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.
Joost Verburg is offline   Reply With Quote
Old 30th August 2002, 22:50   #5
Wyz
Junior Member
 
Join Date: Aug 2002
Location: France
Posts: 33
Send a message via ICQ to Wyz Send a message via AIM to 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
Wyz is offline   Reply With Quote
Old 30th August 2002, 23:05   #6
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Quote:
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?
Joost Verburg is offline   Reply With Quote
Old 30th August 2002, 23:12   #7
Wyz
Junior Member
 
Join Date: Aug 2002
Location: France
Posts: 33
Send a message via ICQ to Wyz Send a message via AIM to 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)...
Wyz is offline   Reply With Quote
Old 30th August 2002, 23:19   #8
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Quote:
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 ).
Joost Verburg is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump