Restoring the Default Window Layout in SQL Server Management Studio

Sometimes it can happen that by accident you closed the Object Explorer window, or you made some changes to the default window layout in SQL Server Management Studio (SSMS), and you don't know how to get it back to the original position.
It can also happen that after you change the screen resolution with Management Studio open, some open dialog boxes (like Quick Find or Quick Replace dialog box) are open but not visible.

It is very easy to restore the default window layout in SQL Server Management Studio (Object Explorer on left side and Query Windows on the right side):
On the 'Window' menu -> click 'Reset Window Layout':

reset_window_layout_ssms

...and click 'Yes' to confirm:

reset_window_layout_ssms_confirm