View Full Version : Move window to corner
2nd March 2004, 20:11
I don't know how to use this function to move the welcome page etc to the corner, I tried in my main default section but no!!
call repositionwindow ; --> reposition install window to corner of screen
Found in the archive -
2nd March 2004, 21:17
You should call this function from the GUIINIT function of the installer.
3rd March 2004, 10:35
It works fine if I am not using MUI, most especially the macro
!insertmacro MUI_LANGUAGE "English"
I went into C:\Program Files\NSIS\Contrib\Modern UI\Language files and edited the english.nsh file. I commented out the first line, it compiles fine but I have no welcome page!!
It appears .onGUIINIT has been defined somewhere else! and if I include it in my script it tells me already defined
3rd March 2004, 10:39
When using MUI you shold not use the .onGUIINIT. This code should work: !define MUI_CUSTOMFUNCTION_GUIINIT myGuiInit
...your own code...
3rd March 2004, 11:16
Thanks works great!
8th July 2009, 04:02
Pls give me the code to move the window
8th July 2009, 09:13
I use Nsdialog and WANSIS to write custom Page.
And BOTH nsdialogs.nsh and System.nsh define some flag Already, so I rem define in System.nsh.
And when i use repostionWindow, it move part inside Dialog and Border of Dialog is old position (pls see atachment).
How can i handle it?
I think the Function RepositionWindow get wrong HandleWindow
Thank for reading
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.