How to set opening position of software window