VOGONS


window offset each time

Topic actions

First post, by dbarton

User metadata
Rank Member
Rank
Member

When I open my app under DOSbox, It opens in a window as I'd like, but the window is always toward the right of the screen, dragged a bit off the desktop.

Is there a way to have the window open properly centered?

(I'm using overlay as output)

Reply 1 of 5, by DaveDoesIT

User metadata
Rank Newbie
Rank
Newbie

Have you tried moving the window to where you want it? Mine opens where I left it last time.

Dave

Reply 2 of 5, by dbarton

User metadata
Rank Member
Rank
Member

Yes, I move it each time, but it never remembers the location.

Reply 3 of 5, by Snover

User metadata
Rank l33t++
Rank
l33t++

That's a Windows problem. I think deleting HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects and/or HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2 and then logging out and back in will solve it.

Yes, it’s my fault.

Reply 4 of 5, by dbarton

User metadata
Rank Member
Rank
Member

How safe is it to delete these keys? Will they automatically get recreated?

Reply 5 of 5, by Snover

User metadata
Rank l33t++
Rank
l33t++

I'm pretty sure that's the case, but you should always backup just in case.

Yes, it’s my fault.