Archive: [nsdialogs] Adding New Button to the bottom of page


[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 :p)
Thanks for any help,
Regards
-Pawel


Probably the easiest way is to use ButtonEvent plug-in by Afrow UK.

PaR


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?


I Would like to know the same


Add the button using the System plug-in.

Stu


An example that using system plugin create an "About" button at the lower left corner .
For advanced using, see this post:
http://forums.winamp.com/showthread.php?p=2707956


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


ButtonEvent Plugin with the source code:
http://nsis.sourceforge.net/ButtonEvent_plug-in
Directly:
http://nsis.sourceforge.net/mediawik...uttonEvent.zip