Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Change button positions on license page (http://forums.winamp.com/showthread.php?t=233192)

SM1 14th December 2005 23:32

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 14th December 2005 23:41

Use a resource hacker and manually move them.

SM1 14th December 2005 23:51

Any idea which files need to be edited?

goldy1064 15th December 2005 00:09

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 00:19

Ok going to try it, but will this make the button positions change on all other pages?

Afrow UK 15th December 2005 08:10

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


All times are GMT. The time now is 05:49.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.