Pawel
2nd January 2010 11:25 UTC
[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
{_trueparuex^}
2nd January 2010 15:20 UTC
Probably the easiest way is to use ButtonEvent plug-in by Afrow UK.
PaR
Pawel
3rd January 2010 00:56 UTC
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?
Oddsodz
11th October 2010 11:40 UTC
I Would like to know the same
Afrow UK
11th October 2010 12:03 UTC
Add the button using the System plug-in.
Stu
jiake
16th October 2010 20:55 UTC
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
Pawel
16th October 2010 21:08 UTC
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