SM1
15th December 2005 00:32 UTC
Change button positions on license page
Hey all,
I'm trying to get the "I Agree" and Cancel buttons to switch positions on the license page, any idea how I might be able to do this?
Calling SetWindowPos using the system plugin seems to be an option.
Thanks
goldy1064
15th December 2005 00:41 UTC
Use a resource hacker and manually move them.
SM1
15th December 2005 00:51 UTC
Any idea which files need to be edited?
goldy1064
15th December 2005 01:09 UTC
If you're using Modern UI, then Modern.exe. If you're not using Modern UI, then default.exe. These files are located in C:\Program Files\NSIS\Contrib\UIs if you install to the default location on drive C.
SM1
15th December 2005 01:19 UTC
Ok going to try it, but will this make the button positions change on all other pages?
Afrow UK
15th December 2005 09:10 UTC
Yes it will.
Just using SetWindowPos alone will not work as you need to get the X and Y coordinates of the buttons with GetWindowRect and then use ScreenToClient. It would be easier to write a plugin.
-Stu