Garfyld
13th January 2010 08:30 UTC
Default button (next) size
Hi all
It seems to me like a easy task, but unfotunately I
couldn't find any solution until now.
I've changed the text for the next-button and now the new text does not fit in the button anymore. How can I change the size of the next-button?
Thanks
MSG
13th January 2010 09:30 UTC
To get the HWND of the Next button, use GetDlgItem: http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.14.6
Then use the system plugin to call user32::GetWindowRect (to get the coordinates of the button) and User32::SetWindowPos (to set the new position). Look the functions up on msdn.microsoft.com to get details.