Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   How to Change Size and Position? (http://forums.winamp.com/showthread.php?t=230188)

Devel 5th November 2005 16:29

How to Change Size and Position?
 
1 Attachment(s)
?

Animaether 5th November 2005 22:13

http://nsis.sourceforge.net/Get_inst...rner_of_screen

http://nsis.sourceforge.net/Moving_i..._of_the_screen

Note that:
PHP Code:

System::Call "User32::SetWindowPos(i, i, i, i, i, i, i) b ($HWNDPARENT, 0, $0, $1, 0, 0, 0x201)" 

Should be changed so that it is :
PHP Code:

System::Call "User32::SetWindowPos(i, i, i, i, i, i, i) b ($HWNDPARENT, 0, $0, $1, WIDTH, HEIGHT, 0x200)" 

(0x201 includes bit '1', which is SWP_NOSIZE, and you DO want it to size)


All times are GMT. The time now is 04:44.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.