|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jan 2010
Posts: 3
|
Adding more buttons to footer (beside Back/Next/Cancel)
Hello,
I'm migrating our installer from the now defunct Wise Installation system. I need to achieve a dialog with additional buttons in the footer, and I can't figure out how to do this. (Getting the ListView with checkboxes was no problem with nsDialogs and some Win32 calls). Any suggestions on how to get additional push buttons added to the footer in NSIS? nsDialogs does not appear to give me this option. Controls are clipped if I try to move them into the footer area. This is what I'm trying to achieve: Thanks, Peter |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
One thing you could try is to re-parent some nsDialog buttons with $hwndparent as the new parent when calling SetParent (Totally unsupported, not even sure if it will work, but you could give it a shot)
The other ugly option is to use my subclass plugin; http://nsis.sourceforge.net/WndSubclass_plug-in IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: May 2005
Posts: 119
|
I think from a UI perspective that you should not put those 2 buttons down on the bottom. Back/Next/Cancel are unified controls for the whole installer.
Keeping the check listbox with the All/None buttons together fits better visually. You would need to shrink the listbox and put the buttons on the bottom or on the right side with slightly different text. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jan 2010
Posts: 3
|
That is right. However, Back/Next/Cancel stay in the same place all the time. From an UI perspective you can consider the unused blank area to the right of the back button a "custom area", especially for one time use. Think of it like this: The two buttons are there all along but hidden in all other dialogs but this one
![]() Because of existing documentation (including printed documentation) I would prefer not to change the design. However, if I have to change the design, the ideal approach is probably to change the list view to a tree view with a top node checkbox that easily lets you select or deselect all... Thanks, Peter |
|
|
|
|
|
#5 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
add the button using Resource Hacker to the UI you want..not cool?
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#6 | |
|
Junior Member
Join Date: Jan 2010
Posts: 3
|
Quote:
Thanks, Peter Last edited by pnielsen; 18th January 2010 at 15:05. |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|