Been having a lot of fun with DirectX recently. I've got a slight problem here though, about autoredraw. DirectX draws time after time, making it the best to leave autoredraw false. My problem is when i show a message box. It pops up and the game loop stops because it's modal. When it appears a rectangle immediately appears on you drawing window. Then if you move it around even more will go to the form's/picturebox's backcolor because autoredraw is set to false. This makes it look ugly, and cheap so i'd like to take it out. I tried setting autoredraw to true and then show the msgbox but it didn't work.