Just Call ChangeDisplaySettingsEx() , everything is OK except the program it self,because i didn't implement the "repaint method" of a form