Make sure you've downloaded the latest management software for your graphics card. Usually the type of behavior you're seeing ends up being a scaling issue (the card may be set to a default of 80% of your screen size, for example).
Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
My posts, comments, code, and suggestions reflect only my personal views.
Web Portfolio and Code Snippets: http://shanechism.com