Chris Nackers Blog

ConfigMgr and MDT Deployment Solutions

Useful Blogs

User Groups

Custom Boot Wizard – Maximizing the window

I had previously done a bunch of work on making my custom boot wizard a certain size and centered, and it just didn’t always look as good as I wanted it to with various screen resolutions.  So I’ve resorted to simply always making sure the window is maximized :)

Open your wizardeditor and go to your global pane.  Then you will want to add a customstatement and put the following text in:

window.moveTo 0,0
window.resizeTo screen.availWidth, screen.availHeight

image

That’s it, save your changes, update your boot image, and test.  You should now have a front-end that is maximized and no longer need to worry about it being centered or large enough to contain your information.

Comments

dthomson said:

Have you tried something like this?

Sub DoResize

 'resize  

 window.resizeTo 700,430

 screenWidth = Document.ParentWindow.Screen.AvailWidth

 screenHeight = Document.ParentWindow.Screen.AvailHeight

 posLeft = (screenWidth - 700) / 2

 posTop = (screenHeight - 430) / 2    

 'move to centerscreen

 window.moveTo posLeft, posTop

End Sub

# March 25, 2010 9:19 AM