Get installer to open in top left hand corner of screen

From NSIS Wiki

Author: Afrow UK (talk, contrib)


Description

This small script (found by KiCHiK) will open up the position of your install into the screen top-left hand corner of the screen.

If the installer is ever opened again, it will re-appear on the same place.

The Script

Function .onGUIInit
System::Call "User32::SetWindowPos(i, i, i, i, i, i, i) i ($HWNDPARENT, 0, 0, 0, 0, 0, 0x201)"
FunctionEnd

That's all there is to it - NOTHING else!!

Thanks KiCHiK :)

GOD [\LessThan/] KiCHiK & Sunjammer

(I think the credit for this has to go at least partly to brainsucker without whom we wouldn't have the System plugin! -- Sunjammer)

-Stuart (Afrow UK)

Personal tools
donate