technology

How to retrieve an off-screen window

Currently, I’m working on a bug fix for the case when you’ve closed our application on a secondary monitor, then disable that monitor (e.g. when undocking a laptop), and then start up the app again. The problem is, we try to restore the window position, and it ends up off-screen and completely hidden from the user.

This happens occasionally with apps that don’t behave politely. As a workaround, you can retrieve the window like this:

Alt-Space M <any arrow key>, then use the mouse to move the window.

What this does is open the command window and select the Move option. The arrow key then allows the mouse to take over the move.

Advertisements
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s