Skip to content
⌘ NSIS Forum Archive

[nsdialogs] Adding New Button to the bottom of page

8 posts

Pawel#

[nsdialogs] Adding New Button to the bottom of page

Hello,
My friend asked me if it is possible to create and add a button, at the bottom of the Page (lets say NSIS license page)?
But I mean new button next to standard nsis buttons (back, next, cancel).
See the screenshot. It should be created after user click Next in Welcome Page. After button is created, the OnClik method should be created - if user click on that button, some action will do (I want to change some variables state).

Is it possible using nsis code (find window handle, create button in that place and execute action after click)? Or do I have to create external plugin?
Have you got any idea how to do that? If someone of you know win32 api very well, please give some help (yes, Anders, you are welcome 😛)
Thanks for any help,
Regards
-Pawel
Pawel#
Thanks, but this plugin is not exackly what i want. It requires modified ui.
I wonder is it possible to do it just in nsis code.
Any ideas?
jiake#
An example that using system plugin create an "About" button at the lower left corner .
For advanced using, see this post:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
Pawel#
Thanks for this solution.
It works nice. Could you provide plugin sources?
Is there unicode build of this plugin?

And, is this possible to add even handler using only nsis code (without external plugins)?
-Pawel
jiake#
ButtonEvent Plugin with the source code:

Directly: