I am working on an application that uses a solid green backgroup. I have a pop up window that allows a user some options. After an option is selected the popup window is removed by calling EndDialog. Everything is working fine unless the user moves the dialog. If the dialog box is moved, when it is cleared the background where it was turns white. I tried issuing a PaintWindow after removing, but this causes the entire screen to flash, before it is redrawn. Is there a way to find the location where the dialog box is and only redraw that area.