markstaylor
08-02-2009, 12:20 PM
Scenario:
My app is launched, repositioned (not sized) then closed.
My app saves the x,y in the registry.
Works fine, next app launch uses the saved x,y coordinates.
If using a dual screen (and positioned on second screen) on first use then closed X,Y coordinates are saved.
Next application load the user has only one screen active, application is off screen.
I have a keyboard short cut to reset app to 0,0. But is there a automatic way to verify if X,Y is off screen?
Thanks
My app is launched, repositioned (not sized) then closed.
My app saves the x,y in the registry.
Works fine, next app launch uses the saved x,y coordinates.
If using a dual screen (and positioned on second screen) on first use then closed X,Y coordinates are saved.
Next application load the user has only one screen active, application is off screen.
I have a keyboard short cut to reset app to 0,0. But is there a automatic way to verify if X,Y is off screen?
Thanks