Display Settings of windows 7

I am using sony vaio laptop and recently i connected a monitor to it.Now on the laptop screen there are blanks on both left and right side of the screen it is not using the entire screen.Can any one help?

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.